diff options
author | tb <> | 2024-09-17 08:47:37 +0000 |
---|---|---|
committer | tb <> | 2024-09-17 08:47:37 +0000 |
commit | cf16b873b44a2dc80b73865e7c9033b500eac196 (patch) | |
tree | 1b5089e0bdec09167dc77857bc6b97fce53c6790 | |
parent | 28b3f6f85b1963b5c7607b79485d5edde91228ee (diff) | |
download | openbsd-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/Makefile | 8 |
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) |
4 | regress: | 4 | regress: |
@@ -14,6 +14,10 @@ localhost.key localhost.crt: | |||
14 | 14 | ||
15 | certs: localhost.key localhost.crt | 15 | certs: localhost.key localhost.crt |
16 | 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 | |||
17 | CLEANFILES += localhost.key localhost.crt | 21 | CLEANFILES += localhost.key localhost.crt |
18 | 22 | ||
19 | PORT ?= 4433 | 23 | PORT ?= 4433 |
@@ -40,7 +44,7 @@ list-failing: | |||
40 | missing: | 44 | missing: |
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 | ||