summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorPauli <pauli@openssl.org>2022-04-01 09:59:49 +1100
committerPauli <pauli@openssl.org>2022-05-04 17:15:20 +1000
commitb11183be0cd3ad675248804922bb240fbbd448e4 (patch)
treea89ff9f523debf511d836f65e0ef87db30635778 /apps
parente257d3e76ffb848b7607b04057257323dc51c3b4 (diff)
Fix Coverity 1503314 unchecked return value
Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/18013)
Diffstat (limited to 'apps')
-rw-r--r--apps/speed.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/speed.c b/apps/speed.c
index b6e7d361f0..377686681b 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);
}
}
}