aboutsummaryrefslogtreecommitdiff
path: root/test/gosttest.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2020-03-18 17:17:37 +0000
committerMatt Caswell <matt@openssl.org>2020-04-19 14:40:55 +0100
commit5e30f2fd58bac0db5c23e33e865fa70bd6eb4349 (patch)
treeacaf649f6e91384529b104d220e6903f96764c3d /test/gosttest.c
parent09ec5e6f5d08a854d40e4a1847759fc6a5793ec6 (diff)
downloadopenssl-5e30f2fd58bac0db5c23e33e865fa70bd6eb4349.zip
openssl-5e30f2fd58bac0db5c23e33e865fa70bd6eb4349.tar.gz
openssl-5e30f2fd58bac0db5c23e33e865fa70bd6eb4349.tar.bz2
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/gosttest.c')
-rw-r--r--test/gosttest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/gosttest.c b/test/gosttest.c
index f619ebd..b61e4ef 100644
--- a/test/gosttest.c
+++ b/test/gosttest.c
@@ -46,7 +46,7 @@ static int test_tls13(int idx)
SSL *clientssl = NULL, *serverssl = NULL;
int testresult = 0;
- if (!TEST_true(create_ssl_ctx_pair(TLS_server_method(),
+ if (!TEST_true(create_ssl_ctx_pair(NULL, TLS_server_method(),
TLS_client_method(),
TLS1_VERSION,
0,