diff options
author | tb <> | 2020-06-01 10:46:45 +0000 |
---|---|---|
committer | tb <> | 2020-06-01 10:46:45 +0000 |
commit | d5721b9f15e775188dc6a8cb6f8030b0a0d41a5f (patch) | |
tree | 3b6ca0901893d9e1c7f6509d2f7c7dab9d22270b | |
parent | 4d0f5182e540fea03b659fd0e30a774475c5c8ee (diff) | |
download | openbsd-d5721b9f15e775188dc6a8cb6f8030b0a0d41a5f.tar.gz openbsd-d5721b9f15e775188dc6a8cb6f8030b0a0d41a5f.tar.bz2 openbsd-d5721b9f15e775188dc6a8cb6f8030b0a0d41a5f.zip |
Enable the test-tls13-zero-length-data.py test, skipping the
three tests that fail due to a BIO_gets() bug.
-rw-r--r-- | src/regress/lib/libssl/tlsfuzzer/tlsfuzzer.py | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/src/regress/lib/libssl/tlsfuzzer/tlsfuzzer.py b/src/regress/lib/libssl/tlsfuzzer/tlsfuzzer.py index b97f2d8b4c..ef037aec9a 100644 --- a/src/regress/lib/libssl/tlsfuzzer/tlsfuzzer.py +++ b/src/regress/lib/libssl/tlsfuzzer/tlsfuzzer.py | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: tlsfuzzer.py,v 1.4 2020/06/01 08:05:32 tb Exp $ | 1 | # $OpenBSD: tlsfuzzer.py,v 1.5 2020/06/01 10:46:45 tb Exp $ |
2 | # | 2 | # |
3 | # Copyright (c) 2020 Theo Buehler <tb@openbsd.org> | 3 | # Copyright (c) 2020 Theo Buehler <tb@openbsd.org> |
4 | # | 4 | # |
@@ -79,6 +79,15 @@ tls13_tests = TestGroup("TLSv1.3 tests", [ | |||
79 | Test("test-tls13-legacy-version.py"), | 79 | Test("test-tls13-legacy-version.py"), |
80 | Test("test-tls13-nociphers.py"), | 80 | Test("test-tls13-nociphers.py"), |
81 | Test("test-tls13-record-padding.py"), | 81 | Test("test-tls13-record-padding.py"), |
82 | |||
83 | # The skipped tests fail due to a bug in BIO_gets() which masks the retry | ||
84 | # signalled from an SSL_read() failure. Testing with httpd(8) shows we're | ||
85 | # handling these corner cases correctly since tls13_record_layer.c -r1.47. | ||
86 | Test("test-tls13-zero-length-data.py", [ | ||
87 | "-e", "zero-length app data", | ||
88 | "-e", "zero-length app data with large padding", | ||
89 | "-e", "zero-length app data with padding", | ||
90 | ]), | ||
82 | ]) | 91 | ]) |
83 | 92 | ||
84 | # Tests that take a lot of time (> ~30s on an x280) | 93 | # Tests that take a lot of time (> ~30s on an x280) |
@@ -125,13 +134,6 @@ tls13_failing_tests = TestGroup("failing TLSv1.3 tests", [ | |||
125 | # Most failing tests expect the CCS right before finished. | 134 | # Most failing tests expect the CCS right before finished. |
126 | # What's up with that? | 135 | # What's up with that? |
127 | Test("test-tls13-version-negotiation.py"), | 136 | Test("test-tls13-version-negotiation.py"), |
128 | |||
129 | # The following three tests fail due to broken pipe. | ||
130 | # AssertionError: Unexpected closure from peer: | ||
131 | # 'zero-length app data' | ||
132 | # 'zero-length app data with large padding' | ||
133 | # 'zero-length app data with padding' | ||
134 | Test("test-tls13-zero-length-data.py"), | ||
135 | ]) | 137 | ]) |
136 | 138 | ||
137 | tls13_slow_failing_tests = TestGroup("slow, failing TLSv1.3 tests", [ | 139 | tls13_slow_failing_tests = TestGroup("slow, failing TLSv1.3 tests", [ |