summaryrefslogtreecommitdiffstats
path: root/test/tls13ccstest.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/tls13ccstest.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/tls13ccstest.c')
-rw-r--r--test/tls13ccstest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tls13ccstest.c b/test/tls13ccstest.c
index 7609f0c456..521a992c1d 100644
--- a/test/tls13ccstest.c
+++ b/test/tls13ccstest.c
@@ -255,7 +255,7 @@ static int test_tls13ccs(int tst)
chsessidlen = 0;
if (!TEST_true(create_ssl_ctx_pair(TLS_server_method(), TLS_client_method(),
- TLS1_VERSION, TLS_MAX_VERSION,
+ TLS1_VERSION, 0,
&sctx, &cctx, cert, privkey))
|| !TEST_true(SSL_CTX_set_max_early_data(sctx,
SSL3_RT_MAX_PLAIN_LENGTH)))