summaryrefslogtreecommitdiffstats
path: root/test/clienthellotest.c
diff options
context:
space:
mode:
authorKurt Roeckx <kurt@roeckx.be>2018-12-09 20:53:05 +0100
committerKurt Roeckx <kurt@roeckx.be>2018-12-15 12:52:02 +0100
commit5c587fb6b996d47771bcaecd71489e4849103f56 (patch)
treef71bf7705554609990fbc47aa936f61d942c4c2f /test/clienthellotest.c
parentERR: preserve system error number in a few more places (diff)
downloadopenssl-5c587fb6b996d47771bcaecd71489e4849103f56.tar.xz
openssl-5c587fb6b996d47771bcaecd71489e4849103f56.zip
Use (D)TLS_MAX_VERSION_INTERNAL internally
Use 0 if we don't want to set a minimum or maximum version Reviewed-by: Matt Caswell <matt@openssl.org> GH: #7260
Diffstat (limited to 'test/clienthellotest.c')
-rw-r--r--test/clienthellotest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/clienthellotest.c b/test/clienthellotest.c
index 2343145b87..6c7783158f 100644
--- a/test/clienthellotest.c
+++ b/test/clienthellotest.c
@@ -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) {