From c61abfcefcf44076d967939d17a74102adef35f8 Mon Sep 17 00:00:00 2001 From: tb <> Date: Fri, 2 Aug 2024 16:02:35 +0000 Subject: Fix previous Arguably the want_protocol entries in various of these tests are incorrect but I'll leave that for another day. --- src/regress/lib/libtls/config/configtest.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src') 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 @@ -/* $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", -- cgit v1.2.3-55-g6feb