diff options
Diffstat (limited to 'src/regress/lib/libssl/tlsfuzzer/Makefile')
-rw-r--r-- | src/regress/lib/libssl/tlsfuzzer/Makefile | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/src/regress/lib/libssl/tlsfuzzer/Makefile b/src/regress/lib/libssl/tlsfuzzer/Makefile deleted file mode 100644 index f7d17c2b96..0000000000 --- a/src/regress/lib/libssl/tlsfuzzer/Makefile +++ /dev/null | |||
@@ -1,51 +0,0 @@ | |||
1 | # $OpenBSD: Makefile,v 1.7 2024/09/17 08:47:37 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 | start-server: certs | ||
18 | openssl s_server -accept 4433 -groups X25519:P-256:P-521:P-384 \ | ||
19 | -key localhost.key -cert localhost.crt -www | ||
20 | |||
21 | CLEANFILES += localhost.key localhost.crt | ||
22 | |||
23 | PORT ?= 4433 | ||
24 | SLOW = -s | ||
25 | TIMING = # -t | ||
26 | VERBOSE = # -v | ||
27 | |||
28 | regress-tlsfuzzer: certs | ||
29 | python3 ${.CURDIR}/tlsfuzzer.py ${SLOW} ${TIMING} ${VERBOSE} | ||
30 | |||
31 | failing: certs | ||
32 | python3 ${.CURDIR}/tlsfuzzer.py -f ${SLOW} ${TIMING} ${VERBOSE} | ||
33 | |||
34 | |||
35 | port: certs | ||
36 | python3 ${.CURDIR}/tlsfuzzer.py ${SLOW} ${TIMING} ${VERBOSE} -p ${PORT} | ||
37 | |||
38 | list: | ||
39 | @python3 ${.CURDIR}/tlsfuzzer.py -l | ||
40 | |||
41 | list-failing: | ||
42 | @python3 ${.CURDIR}/tlsfuzzer.py -l -f | ||
43 | |||
44 | missing: | ||
45 | @python3 ${.CURDIR}/tlsfuzzer.py -m | ||
46 | |||
47 | .PHONY: all certs failing list list-failing missing port start-server | ||
48 | |||
49 | .endif | ||
50 | |||
51 | .include <bsd.regress.mk> | ||