From 5e30f2fd58bac0db5c23e33e865fa70bd6eb4349 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Wed, 18 Mar 2020 17:17:37 +0000 Subject: Use a non-default libctx in sslapitest We also don't load the default provider into the default libctx to make sure there is no accidental "leakage". Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/11508) --- test/fatalerrtest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/fatalerrtest.c') diff --git a/test/fatalerrtest.c b/test/fatalerrtest.c index 184392cff2..c1e95af4b8 100644 --- a/test/fatalerrtest.c +++ b/test/fatalerrtest.c @@ -28,7 +28,7 @@ static int test_fatalerr(void) 0x17, 0x03, 0x03, 0x00, 0x05, 'D', 'u', 'm', 'm', 'y' }; - if (!TEST_true(create_ssl_ctx_pair(TLS_method(), TLS_method(), + if (!TEST_true(create_ssl_ctx_pair(NULL, TLS_method(), TLS_method(), TLS1_VERSION, 0, &sctx, &cctx, cert, privkey))) goto err; -- cgit v1.2.1