mirror of
https://github.com/openssl/openssl.git
synced 2025-02-23 14:42:15 +08:00
Coverity 1463576: Error handling issues (CHECKED_RETURN)
Reviewed-by: Kurt Roeckx <kurt@roeckx.be> (Merged from https://github.com/openssl/openssl/pull/11892)
This commit is contained in:
parent
084b7bec0f
commit
e5cb3453fb
@ -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);
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user