summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2024-09-17 08:47:37 +0000
committertb <>2024-09-17 08:47:37 +0000
commitcf16b873b44a2dc80b73865e7c9033b500eac196 (patch)
tree1b5089e0bdec09167dc77857bc6b97fce53c6790
parent28b3f6f85b1963b5c7607b79485d5edde91228ee (diff)
downloadopenbsd-cf16b873b44a2dc80b73865e7c9033b500eac196.tar.gz
openbsd-cf16b873b44a2dc80b73865e7c9033b500eac196.tar.bz2
openbsd-cf16b873b44a2dc80b73865e7c9033b500eac196.zip
tlsfuzzer: add a start-server convenience target for interactive testing
-rw-r--r--src/regress/lib/libssl/tlsfuzzer/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/regress/lib/libssl/tlsfuzzer/Makefile b/src/regress/lib/libssl/tlsfuzzer/Makefile
index b57b44daa7..f7d17c2b96 100644
--- a/src/regress/lib/libssl/tlsfuzzer/Makefile
+++ b/src/regress/lib/libssl/tlsfuzzer/Makefile
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile,v 1.6 2022/07/18 09:17:44 tb Exp $ 1# $OpenBSD: Makefile,v 1.7 2024/09/17 08:47:37 tb Exp $
2 2
3.if !exists(/usr/local/share/tlsfuzzer) 3.if !exists(/usr/local/share/tlsfuzzer)
4regress: 4regress:
@@ -14,6 +14,10 @@ localhost.key localhost.crt:
14 14
15certs: localhost.key localhost.crt 15certs: localhost.key localhost.crt
16 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
17CLEANFILES += localhost.key localhost.crt 21CLEANFILES += localhost.key localhost.crt
18 22
19PORT ?= 4433 23PORT ?= 4433
@@ -40,7 +44,7 @@ list-failing:
40missing: 44missing:
41 @python3 ${.CURDIR}/tlsfuzzer.py -m 45 @python3 ${.CURDIR}/tlsfuzzer.py -m
42 46
43.PHONY: all certs failing list list-failing missing port 47.PHONY: all certs failing list list-failing missing port start-server
44 48
45.endif 49.endif
46 50