From 12c20c5486b6440a9b667c93f130a8fdea029b81 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Fri, 2 Dec 2022 09:27:34 +0000 Subject: [PATCH] Drop a spurious printf in evp_test.c A spurious printf was added to evp_test.c - probably for debugging purposes. This actually causes runtime errors in some cases because the name being printed can be NULL. Fixes #19814 Reviewed-by: Hugo Landau Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/19820) --- test/evp_test.c | 1 - 1 file changed, 1 deletion(-) diff --git a/test/evp_test.c b/test/evp_test.c index 9f5d617edfe..44bba48fd27 100644 --- a/test/evp_test.c +++ b/test/evp_test.c @@ -426,7 +426,6 @@ static int digest_test_run(EVP_TEST *t) int xof = 0; OSSL_PARAM params[2]; - printf("test %s (%d %d)\n", t->name, t->s.start, t->s.curr); t->err = "TEST_FAILURE"; if (!TEST_ptr(mctx = EVP_MD_CTX_new())) goto err; -- 2.47.3