From: Pauli Date: Thu, 31 Mar 2022 22:59:49 +0000 (+1100) Subject: Fix Coverity 1503314 unchecked return value X-Git-Tag: openssl-3.2.0-alpha1~2712 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b11183be0cd3ad675248804922bb240fbbd448e4;p=thirdparty%2Fopenssl.git Fix Coverity 1503314 unchecked return value Reviewed-by: David von Oheimb Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/18013) --- diff --git a/apps/speed.c b/apps/speed.c index b6e7d361f06..377686681b0 100644 --- a/apps/speed.c +++ b/apps/speed.c @@ -736,7 +736,7 @@ static int EVP_Update_loop(void *args) rc = EVP_DecryptUpdate(ctx, buf, &outl, buf, lengths[testnum]); if (rc != 1) { /* reset iv in case of counter overflow */ - EVP_CipherInit_ex(ctx, NULL, NULL, NULL, iv, -1); + (void)EVP_CipherInit_ex(ctx, NULL, NULL, NULL, iv, -1); } } } else { @@ -744,7 +744,7 @@ static int EVP_Update_loop(void *args) rc = EVP_EncryptUpdate(ctx, buf, &outl, buf, lengths[testnum]); if (rc != 1) { /* reset iv in case of counter overflow */ - EVP_CipherInit_ex(ctx, NULL, NULL, NULL, iv, -1); + (void)EVP_CipherInit_ex(ctx, NULL, NULL, NULL, iv, -1); } } }