diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2024-09-06 14:56:58 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2024-09-06 14:56:58 +0000 |
commit | 09fd7176f6a1e7fe2f8b5930495bd4b9db3df82a (patch) | |
tree | 9f3de7733a38050d60217d0134e1f4c13efef1b0 | |
parent | 836af9af0fe32e58f28d44aaba81c5a1be6df6fb (diff) |
Prepare for an upcoming tlsfuzzer test that expects decode_error
when we send illegal_parameter. Shrug.
-rw-r--r-- | regress/lib/libssl/tlsfuzzer/tlsfuzzer.py | 7 |
1 files 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 <tb@openbsd.org> # @@ -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( |