diff options
| author | jsing <> | 2020-01-25 16:03:31 +0000 |
|---|---|---|
| committer | jsing <> | 2020-01-25 16:03:31 +0000 |
| commit | c8f22637e2e0244253a8ef175e56c99345346a71 (patch) | |
| tree | 5e6faa14bf094c7598a7802f7c73910d4b5464c1 | |
| parent | 384c09873c7773d469f4e61d01fdef728e0b80d6 (diff) | |
| download | openbsd-c8f22637e2e0244253a8ef175e56c99345346a71.tar.gz openbsd-c8f22637e2e0244253a8ef175e56c99345346a71.tar.bz2 openbsd-c8f22637e2e0244253a8ef175e56c99345346a71.zip | |
Accept both TLSv1.2 and TLSv1.3 protocols for netcat.
This can potentially be improved by adding knowledge about which libraries
support which versions and handle differences between clients and servers.
| -rw-r--r-- | src/regress/lib/libssl/interop/netcat/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/regress/lib/libssl/interop/netcat/Makefile b/src/regress/lib/libssl/interop/netcat/Makefile index 80f49c52f0..a9947e600c 100644 --- a/src/regress/lib/libssl/interop/netcat/Makefile +++ b/src/regress/lib/libssl/interop/netcat/Makefile | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # $OpenBSD: Makefile,v 1.2 2018/11/11 07:39:35 bluhm Exp $ | 1 | # $OpenBSD: Makefile,v 1.3 2020/01/25 16:03:31 jsing Exp $ |
| 2 | 2 | ||
| 3 | LIBRARIES = libressl | 3 | LIBRARIES = libressl |
| 4 | .if exists(/usr/local/bin/eopenssl) | 4 | .if exists(/usr/local/bin/eopenssl) |
| @@ -81,9 +81,8 @@ REGRESS_TARGETS += run-protocol-server-${slib} | |||
| 81 | 81 | ||
| 82 | run-protocol-server-${slib}: server-netcat-client-nc-server-${slib}.out | 82 | run-protocol-server-${slib}: server-netcat-client-nc-server-${slib}.out |
| 83 | @echo '\n======== $@ ========' | 83 | @echo '\n======== $@ ========' |
| 84 | # check that LibTLS protocol version is TLS 1.2 | 84 | # check that LibTLS protocol version is TLS 1.2 or TLS 1.3 |
| 85 | # XXX adapt when LibreSSL supports TLS 1.3 | 85 | grep 'Protocol *: TLSv1.[23]' server-netcat-client-nc-server-${slib}.out |
| 86 | grep 'Protocol *: TLSv1.2' server-netcat-client-nc-server-${slib}.out | ||
| 87 | 86 | ||
| 88 | .endfor | 87 | .endfor |
| 89 | 88 | ||
