From: tb Date: Tue, 17 Sep 2024 08:47:37 +0000 (+0000) Subject: tlsfuzzer: add a start-server convenience target for interactive testing X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=f827f77fea138a5e050b847346fb2361ee0d1f85;p=openbsd tlsfuzzer: add a start-server convenience target for interactive testing --- diff --git a/regress/lib/libssl/tlsfuzzer/Makefile b/regress/lib/libssl/tlsfuzzer/Makefile index b57b44daa7e..f7d17c2b965 100644 --- a/regress/lib/libssl/tlsfuzzer/Makefile +++ b/regress/lib/libssl/tlsfuzzer/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.6 2022/07/18 09:17:44 tb Exp $ +# $OpenBSD: Makefile,v 1.7 2024/09/17 08:47:37 tb Exp $ .if !exists(/usr/local/share/tlsfuzzer) regress: @@ -14,6 +14,10 @@ localhost.key localhost.crt: certs: localhost.key localhost.crt +start-server: certs + openssl s_server -accept 4433 -groups X25519:P-256:P-521:P-384 \ + -key localhost.key -cert localhost.crt -www + CLEANFILES += localhost.key localhost.crt PORT ?= 4433 @@ -40,7 +44,7 @@ list-failing: missing: @python3 ${.CURDIR}/tlsfuzzer.py -m -.PHONY: all certs failing list list-failing missing port +.PHONY: all certs failing list list-failing missing port start-server .endif