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/ssltest_old.c | |
parent | 91c5473035aaf2c0d86e4039c2a29a5b70541905 (diff) | |
download | openssl-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/ssltest_old.c')
-rw-r--r-- | test/ssltest_old.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/ssltest_old.c b/test/ssltest_old.c index f1966242e0..f26bf85173 100644 --- a/test/ssltest_old.c +++ b/test/ssltest_old.c @@ -1331,8 +1331,8 @@ int main(int argc, char *argv[]) min_version = TLS1_2_VERSION; max_version = TLS1_2_VERSION; } else { - min_version = SSL3_VERSION; - max_version = TLS_MAX_VERSION; + min_version = 0; + max_version = 0; } #endif #ifndef OPENSSL_NO_DTLS @@ -1345,8 +1345,8 @@ int main(int argc, char *argv[]) min_version = DTLS1_2_VERSION; max_version = DTLS1_2_VERSION; } else { - min_version = DTLS_MIN_VERSION; - max_version = DTLS_MAX_VERSION; + min_version = 0; + max_version = 0; } } #endif |