From: tb Date: Fri, 2 Aug 2024 16:02:35 +0000 (+0000) Subject: Fix previous X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=141c93e2a20bfc66591c104e112b9ad964e23e22;p=openbsd Fix previous Arguably the want_protocol entries in various of these tests are incorrect but I'll leave that for another day. --- diff --git a/regress/lib/libtls/config/configtest.c b/regress/lib/libtls/config/configtest.c index 9e0df8a5ebc..5b574df1f68 100644 --- a/regress/lib/libtls/config/configtest.c +++ b/regress/lib/libtls/config/configtest.c @@ -1,4 +1,4 @@ -/* $OpenBSD: configtest.c,v 1.4 2024/08/02 15:02:22 tb Exp $ */ +/* $OpenBSD: configtest.c,v 1.5 2024/08/02 16:02:35 tb Exp $ */ /* * Copyright (c) 2017 Joel Sing * @@ -114,14 +114,12 @@ struct parse_protocols_test parse_protocols_tests[] = { { .protostr = "all,!tlsv1.0", .want_return = 0, - .want_protocols = TLS_PROTOCOL_TLSv1_1 | TLS_PROTOCOL_TLSv1_2 | \ - TLS_PROTOCOL_TLSv1_3, + .want_protocols = TLS_PROTOCOL_TLSv1_2 | TLS_PROTOCOL_TLSv1_3, }, { .protostr = "!tlsv1.0", .want_return = 0, - .want_protocols = TLS_PROTOCOL_TLSv1_1 | TLS_PROTOCOL_TLSv1_2 | \ - TLS_PROTOCOL_TLSv1_3, + .want_protocols = TLS_PROTOCOL_TLSv1_2 | TLS_PROTOCOL_TLSv1_3, }, { .protostr = "!tlsv1.0,!tlsv1.1,!tlsv1.3",