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:
Pauli 2022-05-17 10:58:10 +10:00
parent 22dbb176de
commit 6d5f636ce1

View File

@ -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();