test: add a default greeting to avoid printing a null pointer.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Paul Yang <kaishen.yy@antfin.com>
(Merged from https://github.com/openssl/openssl/pull/25221)
This commit is contained in:
Pauli 2024-08-19 08:31:15 +10:00
parent 563c51cea0
commit 34877dbcd4

View File

@ -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 =