summaryrefslogtreecommitdiff
path: root/src/regress/lib/libssl/tlsfuzzer/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/regress/lib/libssl/tlsfuzzer/Makefile45
1 files changed, 45 insertions, 0 deletions
diff --git a/src/regress/lib/libssl/tlsfuzzer/Makefile b/src/regress/lib/libssl/tlsfuzzer/Makefile
new file mode 100644
index 0000000000..224fc96c5c
--- /dev/null
+++ b/src/regress/lib/libssl/tlsfuzzer/Makefile
@@ -0,0 +1,45 @@
1# $OpenBSD: Makefile,v 1.1 2020/05/21 10:38:43 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
9localhost.key localhost.crt:
10 openssl req -x509 -newkey rsa -keyout localhost.key -out localhost.crt \
11 -subj /CN=localhost -nodes -batch
12
13certs: localhost.key localhost.crt
14
15CLEANFILES += localhost.key localhost.crt
16
17PORT ?= 4433
18SLOW = -s
19TIMING = # -t
20VERBOSE = # -v
21
22all: certs
23 python3 ${.CURDIR}/tlsfuzzer.py ${SLOW} ${TIMING} ${VERBOSE}
24
25failing: certs
26 python3 ${.CURDIR}/tlsfuzzer.py -f ${SLOW} ${TIMING} ${VERBOSE}
27
28
29port: certs
30 python3 ${.CURDIR}/tlsfuzzer.py ${SLOW} ${TIMING} ${VERBOSE} -p ${PORT}
31
32list:
33 @python3 ${.CURDIR}/tlsfuzzer.py -l
34
35list-failing:
36 @python3 ${.CURDIR}/tlsfuzzer.py -l -f
37
38missing:
39 @python3 ${.CURDIR}/tlsfuzzer.py -m
40
41.PHONY: all certs failing list list-failing missing port
42
43.endif
44
45.include <bsd.regress.mk>