Fix Coverity unchecked return value
@@ -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);
}
}
}
