diff options
author | Matt Caswell <matt@openssl.org> | 2020-03-18 18:17:37 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2020-04-19 15:40:55 +0200 |
commit | 5e30f2fd58bac0db5c23e33e865fa70bd6eb4349 (patch) | |
tree | acaf649f6e91384529b104d220e6903f96764c3d /test/asynciotest.c | |
parent | dhparam: white space cleaning (diff) | |
download | openssl-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/asynciotest.c')
-rw-r--r-- | test/asynciotest.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/asynciotest.c b/test/asynciotest.c index dcdee1068d..57f895b655 100644 --- a/test/asynciotest.c +++ b/test/asynciotest.c @@ -296,7 +296,8 @@ static int test_asyncio(int test) const char testdata[] = "Test data"; char buf[sizeof(testdata)]; - if (!TEST_true(create_ssl_ctx_pair(TLS_server_method(), TLS_client_method(), + if (!TEST_true(create_ssl_ctx_pair(NULL, TLS_server_method(), + TLS_client_method(), TLS1_VERSION, 0, &serverctx, &clientctx, cert, privkey))) goto end; |