diff options
Diffstat (limited to 'src/regress/lib/libssl/tlsfuzzer/Makefile')
| -rw-r--r-- | src/regress/lib/libssl/tlsfuzzer/Makefile | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/src/regress/lib/libssl/tlsfuzzer/Makefile b/src/regress/lib/libssl/tlsfuzzer/Makefile deleted file mode 100644 index b57b44daa7..0000000000 --- a/src/regress/lib/libssl/tlsfuzzer/Makefile +++ /dev/null | |||
| @@ -1,47 +0,0 @@ | |||
| 1 | # $OpenBSD: Makefile,v 1.6 2022/07/18 09:17:44 tb Exp $ | ||
| 2 | |||
| 3 | .if !exists(/usr/local/share/tlsfuzzer) | ||
| 4 | regress: | ||
| 5 | @echo package py3-tlsfuzzer is required for this regress | ||
| 6 | @echo SKIPPED | ||
| 7 | .else | ||
| 8 | |||
| 9 | REGRESS_TARGETS=regress-tlsfuzzer | ||
| 10 | |||
| 11 | localhost.key localhost.crt: | ||
| 12 | openssl req -x509 -newkey rsa -keyout localhost.key -out localhost.crt \ | ||
| 13 | -subj /CN=localhost -nodes -batch | ||
| 14 | |||
| 15 | certs: localhost.key localhost.crt | ||
| 16 | |||
| 17 | CLEANFILES += localhost.key localhost.crt | ||
| 18 | |||
| 19 | PORT ?= 4433 | ||
| 20 | SLOW = -s | ||
| 21 | TIMING = # -t | ||
| 22 | VERBOSE = # -v | ||
| 23 | |||
| 24 | regress-tlsfuzzer: certs | ||
| 25 | python3 ${.CURDIR}/tlsfuzzer.py ${SLOW} ${TIMING} ${VERBOSE} | ||
| 26 | |||
| 27 | failing: certs | ||
| 28 | python3 ${.CURDIR}/tlsfuzzer.py -f ${SLOW} ${TIMING} ${VERBOSE} | ||
| 29 | |||
| 30 | |||
| 31 | port: certs | ||
| 32 | python3 ${.CURDIR}/tlsfuzzer.py ${SLOW} ${TIMING} ${VERBOSE} -p ${PORT} | ||
| 33 | |||
| 34 | list: | ||
| 35 | @python3 ${.CURDIR}/tlsfuzzer.py -l | ||
| 36 | |||
| 37 | list-failing: | ||
| 38 | @python3 ${.CURDIR}/tlsfuzzer.py -l -f | ||
| 39 | |||
| 40 | missing: | ||
| 41 | @python3 ${.CURDIR}/tlsfuzzer.py -m | ||
| 42 | |||
| 43 | .PHONY: all certs failing list list-failing missing port | ||
| 44 | |||
| 45 | .endif | ||
| 46 | |||
| 47 | .include <bsd.regress.mk> | ||
