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.4.0-alpha1~108 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34877dbcd467efb4e2dbf45d2fcb44c5a4b4926a;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) --- diff --git a/test/provider_internal_test.c b/test/provider_internal_test.c index 9998e6bf973..e4cc354f228 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 =