From: Pauli Date: Sun, 18 Aug 2024 22:31:15 +0000 (+1000) Subject: test: add a default greeting to avoid printing a null pointer. X-Git-Tag: openssl-3.1.7~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6638a74939f7a76d799bdbd8168518d526b9ff78;p=thirdparty%2Fopenssl.git test: add a default greeting to avoid printing a null pointer. Reviewed-by: Shane Lontis Reviewed-by: Paul Yang (Merged from https://github.com/openssl/openssl/pull/25221) (cherry picked from commit 34877dbcd467efb4e2dbf45d2fcb44c5a4b4926a) --- diff --git a/test/provider_internal_test.c b/test/provider_internal_test.c index 1fe8fb0cc5c..cbbcb7799ea 100644 --- a/test/provider_internal_test.c +++ b/test/provider_internal_test.c @@ -22,7 +22,7 @@ static OSSL_PARAM greeting_request[] = { static int test_provider(OSSL_PROVIDER *prov, const char *expected_greeting) { - const char *greeting = NULL; + const char *greeting = "no greeting received"; int ret = 0; ret =