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/tls13ccstest.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/tls13ccstest.c') diff --git a/test/tls13ccstest.c b/test/tls13ccstest.c index 2820a0e8fa..2e1d76b395 100644 --- a/test/tls13ccstest.c +++ b/test/tls13ccstest.c @@ -254,8 +254,8 @@ static int test_tls13ccs(int tst) sappdataseen = cappdataseen = badccs = badvers = badsessid = 0; chsessidlen = 0; - if (!TEST_true(create_ssl_ctx_pair(TLS_server_method(), TLS_client_method(), - TLS1_VERSION, 0, + if (!TEST_true(create_ssl_ctx_pair(NULL, TLS_server_method(), + TLS_client_method(), TLS1_VERSION, 0, &sctx, &cctx, cert, privkey)) || !TEST_true(SSL_CTX_set_max_early_data(sctx, SSL3_RT_MAX_PLAIN_LENGTH))) -- cgit v1.2.3