summaryrefslogtreecommitdiffstats
path: root/test/tls13ccstest.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2020-03-18 18:17:37 +0100
committerMatt Caswell <matt@openssl.org>2020-04-19 15:40:55 +0200
commit5e30f2fd58bac0db5c23e33e865fa70bd6eb4349 (patch)
treeacaf649f6e91384529b104d220e6903f96764c3d /test/tls13ccstest.c
parentdhparam: white space cleaning (diff)
downloadopenssl-5e30f2fd58bac0db5c23e33e865fa70bd6eb4349.tar.xz
openssl-5e30f2fd58bac0db5c23e33e865fa70bd6eb4349.zip
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 <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/11508)
Diffstat (limited to 'test/tls13ccstest.c')
-rw-r--r--test/tls13ccstest.c4
1 files changed, 2 insertions, 2 deletions
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)))