Skip to content

Commit 3caf4b9

Browse files
committed
Add a test for multi-message TLS records
1 parent 7f6a796 commit 3caf4b9

6 files changed

Lines changed: 678 additions & 13 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ tracefile.txt
200200
*.bak
201201
*.dummy
202202
*.xcworkspace
203+
workspace.pid*/
203204
xcuserdata
204205
compile
205206
NTRU_algorithm/

scripts/include.am

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,22 @@ endif
106106
dist_noinst_SCRIPTS+= scripts/unit.test
107107
noinst_SCRIPTS+= scripts/unit.test.in
108108

109+
# multi-msg-record.test drives the wolfSSL example client against a
110+
# Python (tlslite-ng) peer to verify parsing of TLS records that carry
111+
# multiple handshake messages. The script probes the client binary
112+
# at runtime for TLS 1.2, TLS 1.3 and secure-renegotiation support
113+
# and skips phases that are not compiled in. The whole test exits 77
114+
# (SKIP) if python3 or tlslite-ng is missing or if nothing is
115+
# runnable.
116+
dist_noinst_SCRIPTS+= scripts/multi-msg-record.test
117+
109118
endif
110119
endif
111120

121+
# The Python half of multi-msg-record.test always ships in tarballs so
122+
# the wrapper can find it on the installed side.
123+
EXTRA_DIST+= scripts/multi-msg-record.py
124+
112125
dist_noinst_SCRIPTS+= scripts/pem.test
113126

114127
EXTRA_DIST += scripts/sniffer-static-rsa.pcap \

0 commit comments

Comments
 (0)