summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2024-08-02 16:02:35 +0000
committertb <>2024-08-02 16:02:35 +0000
commita28afdbd768cf8b8adc70c229dcb6b5e74beee72 (patch)
treefc8cfc08afcdd0803a46ca93a9a79a7b0c1c83ee
parent3d1118fa05274d1f3789ca743e76aba59045acf7 (diff)
downloadopenbsd-a28afdbd768cf8b8adc70c229dcb6b5e74beee72.tar.gz
openbsd-a28afdbd768cf8b8adc70c229dcb6b5e74beee72.tar.bz2
openbsd-a28afdbd768cf8b8adc70c229dcb6b5e74beee72.zip
Fix previous
Arguably the want_protocol entries in various of these tests are incorrect but I'll leave that for another day.
-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",