From 768408871d94cc109bd58bae259b3a84f0368529 Mon Sep 17 00:00:00 2001 From: tb Date: Fri, 6 Sep 2024 14:56:57 +0000 Subject: [PATCH] Prepare for an upcoming tlsfuzzer test that expects decode_error when we send illegal_parameter. Shrug. --- regress/lib/libssl/tlsfuzzer/tlsfuzzer.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/regress/lib/libssl/tlsfuzzer/tlsfuzzer.py b/regress/lib/libssl/tlsfuzzer/tlsfuzzer.py index 4b29dded417..72ed1d858cb 100644 --- a/regress/lib/libssl/tlsfuzzer/tlsfuzzer.py +++ b/regress/lib/libssl/tlsfuzzer/tlsfuzzer.py @@ -1,4 +1,4 @@ -# $OpenBSD: tlsfuzzer.py,v 1.52 2023/08/14 18:10:42 tb Exp $ +# $OpenBSD: tlsfuzzer.py,v 1.53 2024/09/06 14:56:57 tb Exp $ # # Copyright (c) 2020 Theo Buehler # @@ -352,7 +352,6 @@ tls12_tests = TestGroup("TLSv1.2 tests", [ Test("test-cve-2016-2107.py"), Test("test-cve-2016-6309.py"), Test("test-dhe-rsa-key-exchange.py"), - Test("test-dhe-rsa-key-exchange-with-bad-messages.py"), Test("test-early-application-data.py"), Test("test-empty-extensions.py"), Test("test-extensions.py"), @@ -399,6 +398,10 @@ tls12_tests = TestGroup("TLSv1.2 tests", [ "-e", "TLS_DHE_RSA_WITH_AES_256_CBC_SHA sha224 signature", ] ), + Test("test-dhe-rsa-key-exchange-with-bad-messages.py", [ + "-x", "invalid dh_Yc value - missing", + "-X", substitute_alert("decode_error", "illegal_parameter"), + ]), Test("test-dhe-key-share-random.py", tls12_exclude_legacy_protocols), Test("test-export-ciphers-rejected.py", ["--min-ver", "TLSv1.2"]), Test( -- 2.20.1