From: Matt Caswell Date: Fri, 2 Dec 2022 09:27:34 +0000 (+0000) Subject: Drop a spurious printf in evp_test.c X-Git-Tag: openssl-3.2.0-alpha1~1629 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=12c20c5486b6440a9b667c93f130a8fdea029b81;p=thirdparty%2Fopenssl.git 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) --- 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;