summaryrefslogtreecommitdiff
path: root/regress/lib/libssl/unit
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2020-08-09 16:30:30 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2020-08-09 16:30:30 +0000
commita57ac7141b50da30e0bb3a60412ec6b512d04219 (patch)
treec072f32235e6c05faa467a43166bdf5d5476fe3e /regress/lib/libssl/unit
parentd0e3d27ac70922f958a2503a914ba880cde5a787 (diff)
Update TLS versions to match TLSv1.3 being enabled for TLS_method().
Diffstat (limited to 'regress/lib/libssl/unit')
-rw-r--r--regress/lib/libssl/unit/ssl_versions.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/regress/lib/libssl/unit/ssl_versions.c b/regress/lib/libssl/unit/ssl_versions.c
index 53f71ef22ef..31c20114cf5 100644
--- a/regress/lib/libssl/unit/ssl_versions.c
+++ b/regress/lib/libssl/unit/ssl_versions.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl_versions.c,v 1.8 2020/08/09 16:29:27 jsing Exp $ */
+/* $OpenBSD: ssl_versions.c,v 1.9 2020/08/09 16:30:29 jsing Exp $ */
/*
* Copyright (c) 2016, 2017 Joel Sing <jsing@openbsd.org>
*
@@ -493,14 +493,14 @@ static struct min_max_version_test min_max_version_tests[] = {
.minver = 0,
.maxver = 0,
.want_minver = TLS1_VERSION,
- .want_maxver = TLS1_2_VERSION,
+ .want_maxver = TLS1_3_VERSION,
},
{
.ssl_method = TLS_method,
.minver = TLS1_VERSION,
.maxver = 0,
.want_minver = TLS1_VERSION,
- .want_maxver = TLS1_2_VERSION,
+ .want_maxver = TLS1_3_VERSION,
},
{
.ssl_method = TLS_method,
@@ -514,7 +514,7 @@ static struct min_max_version_test min_max_version_tests[] = {
.minver = 0,
.maxver = TLS1_3_VERSION,
.want_minver = TLS1_VERSION,
- .want_maxver = TLS1_2_VERSION,
+ .want_maxver = TLS1_3_VERSION,
},
{
.ssl_method = TLS_method,
@@ -528,21 +528,21 @@ static struct min_max_version_test min_max_version_tests[] = {
.minver = TLS1_1_VERSION,
.maxver = 0,
.want_minver = TLS1_1_VERSION,
- .want_maxver = TLS1_2_VERSION,
+ .want_maxver = TLS1_3_VERSION,
},
{
.ssl_method = TLS_method,
.minver = TLS1_2_VERSION,
.maxver = 0,
.want_minver = TLS1_2_VERSION,
- .want_maxver = TLS1_2_VERSION,
+ .want_maxver = TLS1_3_VERSION,
},
{
.ssl_method = TLS_method,
.minver = 0x0300,
.maxver = 0,
.want_minver = TLS1_VERSION,
- .want_maxver = TLS1_2_VERSION,
+ .want_maxver = TLS1_3_VERSION,
},
{
.ssl_method = TLS_method,
@@ -556,7 +556,7 @@ static struct min_max_version_test min_max_version_tests[] = {
.minver = 0,
.maxver = 0x0305,
.want_minver = TLS1_VERSION,
- .want_maxver = TLS1_2_VERSION,
+ .want_maxver = TLS1_3_VERSION,
},
{
.ssl_method = TLS_method,