Use (D)TLS_MAX_VERSION_INTERNAL internally
[oweals/openssl.git] / test / clienthellotest.c
index 2343145b8748336244595e580f26fc8133c6c7dc..6c7783158fec8e367e2c05815691151b76b29004 100644 (file)
@@ -78,7 +78,7 @@ 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)))
+    if (!TEST_true(SSL_CTX_set_max_proto_version(ctx, 0)))
         goto end;
 
     switch(currtest) {