diff options
author | Richard Levitte <levitte@openssl.org> | 2018-03-19 09:08:06 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2018-03-19 18:24:30 +0100 |
commit | 7d7f6834e542e53f604b46a72d57fad773d4b2bc (patch) | |
tree | 4b126c6099d838deea5c740751141291807037bc /test/asynciotest.c | |
parent | In TLSProxy::Proxy, specify TLSv1.3 as maximum allowable protocol (diff) | |
download | openssl-7d7f6834e542e53f604b46a72d57fad773d4b2bc.tar.xz openssl-7d7f6834e542e53f604b46a72d57fad773d4b2bc.zip |
Enhance ssltestlib's create_ssl_ctx_pair to take min and max proto version
Have all test programs using that function specify those versions.
Additionally, have the remaining test programs that use SSL_CTX_new
directly specify at least the maximum protocol version.
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5663)
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 179fe2620d..8d15fcb84d 100644 --- a/test/asynciotest.c +++ b/test/asynciotest.c @@ -299,7 +299,8 @@ static int test_asyncio(int test) char buf[sizeof(testdata)]; if (!TEST_true(create_ssl_ctx_pair(TLS_server_method(), TLS_client_method(), - &serverctx, &clientctx, cert, privkey))) + TLS1_VERSION, TLS_MAX_VERSION, + &serverctx, &clientctx, cert, privkey))) goto end; /* |