test_get_libctx(): prevent crash when called with NULL provider arg
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>
Wed, 1 Feb 2023 14:34:19 +0000 (15:34 +0100)
committerTomas Mraz <tomas@openssl.org>
Wed, 8 Feb 2023 16:05:47 +0000 (17:05 +0100)
commit13cb5416f4dbbf50690fe129894e2856623af21c
treeeaa57cc941c666c9202219b951ce77ba950c3d81
parent826374921a6b92293fd87655416eda8ef07301c8
test_get_libctx(): prevent crash when called with NULL provider arg

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20190)
test/testutil/provider.c