diff options
author | Kurt Roeckx <kurt@roeckx.be> | 2018-12-09 20:53:05 +0100 |
---|---|---|
committer | Kurt Roeckx <kurt@roeckx.be> | 2018-12-15 12:52:02 +0100 |
commit | 5c587fb6b996d47771bcaecd71489e4849103f56 (patch) | |
tree | f71bf7705554609990fbc47aa936f61d942c4c2f /test/dtlstest.c | |
parent | 91c5473035aaf2c0d86e4039c2a29a5b70541905 (diff) | |
download | openssl-new-5c587fb6b996d47771bcaecd71489e4849103f56.tar.gz |
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/dtlstest.c')
-rw-r--r-- | test/dtlstest.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/dtlstest.c b/test/dtlstest.c index 62aa856761..0b048869d6 100644 --- a/test/dtlstest.c +++ b/test/dtlstest.c @@ -63,7 +63,7 @@ static int test_dtls_unprocessed(int testidx) if (!TEST_true(create_ssl_ctx_pair(DTLS_server_method(), DTLS_client_method(), - DTLS1_VERSION, DTLS_MAX_VERSION, + DTLS1_VERSION, 0, &sctx, &cctx, cert, privkey))) return 0; @@ -154,7 +154,7 @@ static int test_dtls_drop_records(int idx) if (!TEST_true(create_ssl_ctx_pair(DTLS_server_method(), DTLS_client_method(), - DTLS1_VERSION, DTLS_MAX_VERSION, + DTLS1_VERSION, 0, &sctx, &cctx, cert, privkey))) return 0; @@ -265,7 +265,7 @@ static int test_cookie(void) if (!TEST_true(create_ssl_ctx_pair(DTLS_server_method(), DTLS_client_method(), - DTLS1_VERSION, DTLS_MAX_VERSION, + DTLS1_VERSION, 0, &sctx, &cctx, cert, privkey))) return 0; @@ -297,7 +297,7 @@ static int test_dtls_duplicate_records(void) if (!TEST_true(create_ssl_ctx_pair(DTLS_server_method(), DTLS_client_method(), - DTLS1_VERSION, DTLS_MAX_VERSION, + DTLS1_VERSION, 0, &sctx, &cctx, cert, privkey))) return 0; |