Skip to content

Commit

Permalink
Coverity 1463576: Error handling issues (CHECKED_RETURN)
Browse files Browse the repository at this point in the history
Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
(Merged from #11892)
  • Loading branch information
paulidale committed May 22, 2020
1 parent 084b7be commit e5cb345
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions providers/implementations/serializers/serializer_rsa.c
Expand Up @@ -215,9 +215,9 @@ int ossl_prov_prepare_rsa_params(const void *rsa, int nid,
break;
}
if (!DER_w_RSASSA_PSS_params(&pkt, -1, pss)
|| !WPACKET_finish(&pkt))
|| !WPACKET_finish(&pkt)
|| !WPACKET_get_total_written(&pkt, &str_sz))
goto err;
WPACKET_get_total_written(&pkt, &str_sz);
WPACKET_cleanup(&pkt);

/*
Expand Down

0 comments on commit e5cb345

Please sign in to comment.