mirror of
https://github.com/openssl/openssl.git
synced 2024-11-21 01:15:20 +08:00
Fix coverity 1504433: unchecked return value
Just extending the comment so coveriety knows as well. Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/18326)
This commit is contained in:
parent
22dbb176de
commit
6d5f636ce1
@ -252,6 +252,7 @@ static int ssl_set_cert(CERT *c, X509 *x)
|
||||
/*
|
||||
* The return code from EVP_PKEY_copy_parameters is deliberately
|
||||
* ignored. Some EVP_PKEY types cannot do this.
|
||||
* coverity[check_return]
|
||||
*/
|
||||
EVP_PKEY_copy_parameters(pkey, c->pkeys[i].privatekey);
|
||||
ERR_clear_error();
|
||||
|
Loading…
Reference in New Issue
Block a user