diff options
-rw-r--r-- | test/tls-provider.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/tls-provider.c b/test/tls-provider.c index 7bff6e7406..c658514854 100644 --- a/test/tls-provider.c +++ b/test/tls-provider.c @@ -840,6 +840,9 @@ int tls_provider_init(const OSSL_CORE_HANDLE *handle, { OSSL_LIB_CTX *libctx = OSSL_LIB_CTX_new(); + if (libctx == NULL) + return 0; + *provctx = libctx; /* |