Commit 8835a9ce79 for openssl.org
commit 8835a9ce79106e037728a5addb31ede6f3453a81
Author: OwenSanzas <zesheng@tamu.edu>
Date: Tue Mar 10 09:42:22 2026 +0000
Remove unnecessary comments and extra blank line
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
MergeDate: Wed Mar 11 20:58:51 2026
(Merged from https://github.com/openssl/openssl/pull/30331)
diff --git a/fuzz/provider.c b/fuzz/provider.c
index 1b67cfd774..6610baae1d 100644
--- a/fuzz/provider.c
+++ b/fuzz/provider.c
@@ -488,7 +488,6 @@ static int do_evp_cipher(const EVP_CIPHER *evp_cipher, const OSSL_PARAM param[])
if (ctx == NULL)
goto err;
- /* Initialize cipher before setting params so ctx has an algorithm */
if (!EVP_EncryptInit_ex2(ctx, evp_cipher, key, iv, NULL))
goto err;
@@ -644,7 +643,6 @@ static int do_evp_md(EVP_MD *evp_md, const OSSL_PARAM params[])
goto end;
}
- /* Initialize digest before setting params so ctx has an algorithm */
if (!EVP_DigestInit_ex2(mdctx, evp_md, NULL)) {
r = 0;
goto end;
@@ -654,7 +652,6 @@ static int do_evp_md(EVP_MD *evp_md, const OSSL_PARAM params[])
r = 0;
goto end;
}
-
if (!EVP_DigestUpdate(mdctx, "Test", strlen("Test"))) {
r = 0;
goto end;