wolfssl/scripts
Juliusz Sosinowicz 1fa1228ba1 Address review: make the hang guards actually fire
Three ways the bounds added here failed to do their job:

- get_first_free_port ended the scan cap with 'exit 1', but every caller
  runs it in a command substitution, so only the subshell died. The port
  variable came back empty, the next $((port + 1)) evaluated to 1, and the
  run limped on to a confusing wait_for_readyFile failure. Forcing the cap
  on ocsp-stapling.test: before, the script ran on and hung until an outer
  timeout killed it; now it exits 1 at the error. Return instead, and check
  the status at all 25 call sites across the six scripts.

- The macOS timeout shim was a shell function. Backgrounding a function
  forks a subshell, so $! was the subshell and cleanup killed that while
  the server it was meant to stop leaked. Use a prefix variable that
  expands to nothing when timeout(1) is absent, keeping $! the real pid.

- timeout -s KILL exits 137, not 124. Sites that read $? and treat any
  non-zero as 'feature not compiled in' turned a hang into exit 0, so the
  bound made a hang less visible than before. Add timed_out() and check it
  before those skip branches; use it for the version probes too, which
  matched any status >= 124.
2026-08-13 15:52:17 +00:00
..
bench fix: use SPDX GPL-3.0-or-later license identifiers in metadata 2026-08-07 13:34:41 -07:00
testdata feat: SBOM generation and OmniBOR build provenance (CRA compliance) 2026-07-23 21:51:26 -07:00
advisory-vex-overlay.example.json feat: SBOM generation and OmniBOR build provenance (CRA compliance) 2026-07-23 21:51:26 -07:00
advisory-vex-overlay.schema.json feat: SBOM generation and OmniBOR build provenance (CRA compliance) 2026-07-23 21:51:26 -07:00
aria-cmake-build-test.sh
asn1_oid_sum.pl Parse x500UniqueIdentifier (OID 2.5.4.45) in certificate DN 2026-08-06 11:05:30 -05:00
benchmark.test Address review: make the hang guards actually fire 2026-08-13 15:52:17 +00:00
benchmark_compare.sh
bomsh_verify.py sbom: address advisory/SBOM review findings 2026-07-23 21:51:26 -07:00
cleanup_testfiles.sh
crl-gen-openssl.test
crl-revoked.test Address review: make the hang guards actually fire 2026-08-13 15:52:17 +00:00
csaf_validate.mjs feat: SBOM generation and OmniBOR build provenance (CRA compliance) 2026-07-23 21:51:26 -07:00
cwe-names.json feat: SBOM generation and OmniBOR build provenance (CRA compliance) 2026-07-23 21:51:26 -07:00
dertoc.pl
dtls.test Address review: make the hang guards actually fire 2026-08-13 15:52:17 +00:00
dtlscid.test Address review: make the hang guards actually fire 2026-08-13 15:52:17 +00:00
external.test Address review: make the hang guards actually fire 2026-08-13 15:52:17 +00:00
falcon-interop.c Falcon: remove FN-DSA / FIPS 206 references from code comments and text 2026-07-22 09:52:26 +02:00
gen-advisory sbom: address advisory/SBOM review findings 2026-07-23 21:51:26 -07:00
gen-sbom sbom: drop liboqs dependency support (removed from wolfSSL) 2026-07-23 22:32:50 -07:00
google.test Address review: make the hang guards actually fire 2026-08-13 15:52:17 +00:00
include.am scripts: add canonical shared sbom.am fragment 2026-07-23 21:51:26 -07:00
makedistsmall.sh
memtest.sh
multi-msg-record.py
multi-msg-record.test
ocsp-responder-openssl-interop.test Address review: make the hang guards actually fire 2026-08-13 15:52:17 +00:00
ocsp-stapling-with-ca-as-responder.test Address review: make the hang guards actually fire 2026-08-13 15:52:17 +00:00
ocsp-stapling-with-wolfssl-responder.test Address review: make the hang guards actually fire 2026-08-13 15:52:17 +00:00
ocsp-stapling.test Address review: make the hang guards actually fire 2026-08-13 15:52:17 +00:00
ocsp-stapling2.test Address review: make the hang guards actually fire 2026-08-13 15:52:17 +00:00
ocsp-stapling_tls13multi.test Address review: make the hang guards actually fire 2026-08-13 15:52:17 +00:00
ocsp.test Address review: make the hang guards actually fire 2026-08-13 15:52:17 +00:00
openssl.test Address review: make the hang guards actually fire 2026-08-13 15:52:17 +00:00
openssl_srtp.test Address review: make the hang guards actually fire 2026-08-13 15:52:17 +00:00
pem.test
ping.test
pkcallbacks.test Address review: make the hang guards actually fire 2026-08-13 15:52:17 +00:00
psk.test Address review: make the hang guards actually fire 2026-08-13 15:52:17 +00:00
puf_bch_genpoly.py wolfCrypt SRAM PUF: configurable error correction and footprint 2026-08-09 09:04:51 +02:00
resume.test Address review: make the hang guards actually fire 2026-08-13 15:52:17 +00:00
rsapss.test Address review: make the hang guards actually fire 2026-08-13 15:52:17 +00:00
sbom.am scripts/sbom.am: add SBOM_OPTIONS_H override to unify the fragment 2026-07-23 21:51:26 -07:00
sniffer-gen.sh
sniffer-ipv6.pcap updated email to facts@wolfssl.com 2026-06-26 14:44:16 -06:00
sniffer-static-rsa.pcap updated email to facts@wolfssl.com 2026-06-26 14:44:16 -06:00
sniffer-testsuite.test
sniffer-tls12-keylog.out
sniffer-tls12-keylog.pcap updated email to facts@wolfssl.com 2026-06-26 14:44:16 -06:00
sniffer-tls12-keylog.sslkeylog updated email to facts@wolfssl.com 2026-06-26 14:44:16 -06:00
sniffer-tls13-dh-resume.pcap updated email to facts@wolfssl.com 2026-06-26 14:44:16 -06:00
sniffer-tls13-dh.pcap updated email to facts@wolfssl.com 2026-06-26 14:44:16 -06:00
sniffer-tls13-ecc-resume.pcap updated email to facts@wolfssl.com 2026-06-26 14:44:16 -06:00
sniffer-tls13-ecc.pcap updated email to facts@wolfssl.com 2026-06-26 14:44:16 -06:00
sniffer-tls13-hrr.pcap
sniffer-tls13-keylog.out
sniffer-tls13-keylog.pcap updated email to facts@wolfssl.com 2026-06-26 14:44:16 -06:00
sniffer-tls13-keylog.sslkeylog Parse sniffer keylog file line by line for RFC 9850 2026-07-17 11:04:24 +02:00
sniffer-tls13-x25519-resume.pcap
sniffer-tls13-x25519.pcap updated email to facts@wolfssl.com 2026-06-26 14:44:16 -06:00
stm32l4-v4_0_1_build.sh
test_csaf_validate.mjs fix spelling 2026-07-23 21:51:26 -07:00
test_gen_advisory.py sbom: address advisory/SBOM review findings 2026-07-23 21:51:26 -07:00
test_gen_sbom.py sbom: drop liboqs dependency support (removed from wolfSSL) 2026-07-23 22:32:50 -07:00
tls13.test Address review: make the hang guards actually fire 2026-08-13 15:52:17 +00:00
trusted_peer.test Address review: make the hang guards actually fire 2026-08-13 15:52:17 +00:00
tsp.test Time-Stamp Protocol (RFC 3161) 2026-07-08 09:33:47 +10:00
unit.test.in
user_settings_asm.sh