summaryrefslogtreecommitdiff
path: root/src/regress/lib/libssl/tlsfuzzer/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/regress/lib/libssl/tlsfuzzer/Makefile')
-rw-r--r--src/regress/lib/libssl/tlsfuzzer/Makefile51
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)
4regress:
5 @echo package py3-tlsfuzzer is required for this regress
6 @echo SKIPPED
7.else
8
9REGRESS_TARGETS=regress-tlsfuzzer
10
11localhost.key localhost.crt:
12 openssl req -x509 -newkey rsa -keyout localhost.key -out localhost.crt \
13 -subj /CN=localhost -nodes -batch
14
15certs: localhost.key localhost.crt
16
17start-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
21CLEANFILES += localhost.key localhost.crt
22
23PORT ?= 4433
24SLOW = -s
25TIMING = # -t
26VERBOSE = # -v
27
28regress-tlsfuzzer: certs
29 python3 ${.CURDIR}/tlsfuzzer.py ${SLOW} ${TIMING} ${VERBOSE}
30
31failing: certs
32 python3 ${.CURDIR}/tlsfuzzer.py -f ${SLOW} ${TIMING} ${VERBOSE}
33
34
35port: certs
36 python3 ${.CURDIR}/tlsfuzzer.py ${SLOW} ${TIMING} ${VERBOSE} -p ${PORT}
37
38list:
39 @python3 ${.CURDIR}/tlsfuzzer.py -l
40
41list-failing:
42 @python3 ${.CURDIR}/tlsfuzzer.py -l -f
43
44missing:
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>