summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/regress/lib/libtls/config/configtest.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/regress/lib/libtls/config/configtest.c b/src/regress/lib/libtls/config/configtest.c
index 9e0df8a5eb..5b574df1f6 100644
--- a/src/regress/lib/libtls/config/configtest.c
+++ b/src/regress/lib/libtls/config/configtest.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: configtest.c,v 1.4 2024/08/02 15:02:22 tb Exp $ */ 1/* $OpenBSD: configtest.c,v 1.5 2024/08/02 16:02:35 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2017 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2017 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -114,14 +114,12 @@ struct parse_protocols_test parse_protocols_tests[] = {
114 { 114 {
115 .protostr = "all,!tlsv1.0", 115 .protostr = "all,!tlsv1.0",
116 .want_return = 0, 116 .want_return = 0,
117 .want_protocols = TLS_PROTOCOL_TLSv1_1 | TLS_PROTOCOL_TLSv1_2 | \ 117 .want_protocols = TLS_PROTOCOL_TLSv1_2 | TLS_PROTOCOL_TLSv1_3,
118 TLS_PROTOCOL_TLSv1_3,
119 }, 118 },
120 { 119 {
121 .protostr = "!tlsv1.0", 120 .protostr = "!tlsv1.0",
122 .want_return = 0, 121 .want_return = 0,
123 .want_protocols = TLS_PROTOCOL_TLSv1_1 | TLS_PROTOCOL_TLSv1_2 | \ 122 .want_protocols = TLS_PROTOCOL_TLSv1_2 | TLS_PROTOCOL_TLSv1_3,
124 TLS_PROTOCOL_TLSv1_3,
125 }, 123 },
126 { 124 {
127 .protostr = "!tlsv1.0,!tlsv1.1,!tlsv1.3", 125 .protostr = "!tlsv1.0,!tlsv1.1,!tlsv1.3",