From 6d5f636ce1ff6b57846e0e0fc82f7ed56aee2ac5 Mon Sep 17 00:00:00 2001 From: Pauli Date: Tue, 17 May 2022 10:58:10 +1000 Subject: [PATCH] Fix coverity 1504433: unchecked return value Just extending the comment so coveriety knows as well. Reviewed-by: Tomas Mraz Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/18326) --- ssl/ssl_rsa.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ssl/ssl_rsa.c b/ssl/ssl_rsa.c index fb615488adc..125d4ff56fa 100644 --- a/ssl/ssl_rsa.c +++ b/ssl/ssl_rsa.c @@ -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(); -- 2.47.2