diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2024-08-02 16:02:36 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2024-08-02 16:02:36 +0000 |
commit | 0fb35a43991024a7caf307cf87d09c37911cec9b (patch) | |
tree | 3a258909e95c827f9eb1df9fc6c922f41b90c139 | |
parent | f8ba302b86758bad6f57d3e3512419bb82dfe524 (diff) |
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-- | regress/lib/libtls/config/configtest.c | 8 |
1 files changed, 3 insertions, 5 deletions
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 <jsing@openbsd.org> * @@ -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", |