diff options
author | tb <> | 2022-07-18 09:15:08 +0000 |
---|---|---|
committer | tb <> | 2022-07-18 09:15:08 +0000 |
commit | 8265bcfdb2e0107917005b805fd1583ca9f47264 (patch) | |
tree | 48e106b4adc7edee4bf0a4d2ba30c9fa12556a26 /src/regress | |
parent | b3809e54385d61923e6670c241de265f478cdb75 (diff) | |
download | openbsd-8265bcfdb2e0107917005b805fd1583ca9f47264.tar.gz openbsd-8265bcfdb2e0107917005b805fd1583ca9f47264.tar.bz2 openbsd-8265bcfdb2e0107917005b805fd1583ca9f47264.zip |
Add comments to explain the magic numbers 57 and 58
Diffstat (limited to 'src/regress')
-rw-r--r-- | src/regress/lib/libssl/tlsfuzzer/Makefile | 4 | ||||
-rw-r--r-- | src/regress/lib/libssl/tlsfuzzer/tlsfuzzer.py | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/src/regress/lib/libssl/tlsfuzzer/Makefile b/src/regress/lib/libssl/tlsfuzzer/Makefile index 2097b84caa..2731676303 100644 --- a/src/regress/lib/libssl/tlsfuzzer/Makefile +++ b/src/regress/lib/libssl/tlsfuzzer/Makefile | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: Makefile,v 1.4 2021/08/30 17:34:02 tb Exp $ | 1 | # $OpenBSD: Makefile,v 1.5 2022/07/18 09:15:08 tb Exp $ |
2 | 2 | ||
3 | .if !exists(/usr/local/share/tlsfuzzer) | 3 | .if !exists(/usr/local/share/tlsfuzzer) |
4 | regress: | 4 | regress: |
@@ -18,7 +18,7 @@ CLEANFILES += localhost.key localhost.crt | |||
18 | 18 | ||
19 | PORT ?= 4433 | 19 | PORT ?= 4433 |
20 | SLOW = -s | 20 | SLOW = -s |
21 | TIMING = # -t | 21 | TIMING = -t |
22 | VERBOSE = # -v | 22 | VERBOSE = # -v |
23 | 23 | ||
24 | regress-tlsfuzzer: certs | 24 | regress-tlsfuzzer: certs |
diff --git a/src/regress/lib/libssl/tlsfuzzer/tlsfuzzer.py b/src/regress/lib/libssl/tlsfuzzer/tlsfuzzer.py index 821fd055a9..0cbd90c2e2 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.46 2022/07/18 08:36:47 tb Exp $ | 1 | # $OpenBSD: tlsfuzzer.py,v 1.47 2022/07/18 09:15:08 tb Exp $ |
2 | # | 2 | # |
3 | # Copyright (c) 2020 Theo Buehler <tb@openbsd.org> | 3 | # Copyright (c) 2020 Theo Buehler <tb@openbsd.org> |
4 | # | 4 | # |
@@ -175,6 +175,7 @@ tls13_tests = TestGroup("TLSv1.3 tests", [ | |||
175 | Test("test-tls13-legacy-version.py"), | 175 | Test("test-tls13-legacy-version.py"), |
176 | Test("test-tls13-nociphers.py"), | 176 | Test("test-tls13-nociphers.py"), |
177 | Test("test-tls13-record-padding.py"), | 177 | Test("test-tls13-record-padding.py"), |
178 | # Exclude QUIC transport parameters | ||
178 | Test("test-tls13-shuffled-extentions.py", [ "--exc", "57" ]), | 179 | Test("test-tls13-shuffled-extentions.py", [ "--exc", "57" ]), |
179 | Test("test-tls13-zero-content-type.py"), | 180 | Test("test-tls13-zero-content-type.py"), |
180 | 181 | ||
@@ -207,6 +208,7 @@ tls13_slow_tests = TestGroup("slow TLSv1.3 tests", [ | |||
207 | ]), | 208 | ]), |
208 | # We don't accept an empty ECPF extension since it must advertise the | 209 | # We don't accept an empty ECPF extension since it must advertise the |
209 | # uncompressed point format. Exclude this extension type from the test. | 210 | # uncompressed point format. Exclude this extension type from the test. |
211 | # Also exclude QUIC transport parameters. | ||
210 | Test( | 212 | Test( |
211 | "test-tls13-large-number-of-extensions.py", | 213 | "test-tls13-large-number-of-extensions.py", |
212 | tls13_args = ["--exc", "11", "--exc", "57"], | 214 | tls13_args = ["--exc", "11", "--exc", "57"], |
@@ -413,6 +415,7 @@ tls12_slow_tests = TestGroup("slow TLSv1.2 tests", [ | |||
413 | Test("test-dhe-no-shared-secret-padding.py", tls12_exclude_legacy_protocols), | 415 | Test("test-dhe-no-shared-secret-padding.py", tls12_exclude_legacy_protocols), |
414 | Test("test-ecdhe-padded-shared-secret.py", tls12_exclude_legacy_protocols), | 416 | Test("test-ecdhe-padded-shared-secret.py", tls12_exclude_legacy_protocols), |
415 | Test("test-ecdhe-rsa-key-share-random.py", tls12_exclude_legacy_protocols), | 417 | Test("test-ecdhe-rsa-key-share-random.py", tls12_exclude_legacy_protocols), |
418 | # Start at extension number 58 to avoid QUIC transport parameters (57) | ||
416 | Test("test-large-hello.py", [ "-m", "58" ]), | 419 | Test("test-large-hello.py", [ "-m", "58" ]), |
417 | ]) | 420 | ]) |
418 | 421 | ||