summaryrefslogtreecommitdiff
path: root/test/clienthellotest.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/clienthellotest.c')
-rw-r--r--test/clienthellotest.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/clienthellotest.c b/test/clienthellotest.c
index 5eded83bda..10e3b1b1b1 100644
--- a/test/clienthellotest.c
+++ b/test/clienthellotest.c
@@ -78,6 +78,8 @@ static int test_client_hello(int currtest)
ctx = SSL_CTX_new(TLS_method());
if (!TEST_ptr(ctx))
goto end;
+ if (!TEST_true(SSL_CTX_set_max_proto_version(ctx, TLS_MAX_VERSION)))
+ goto end;
switch(currtest) {
case TEST_SET_SESSION_TICK_DATA_VER_NEG: