summaryrefslogtreecommitdiff
path: root/src/regress/lib
diff options
context:
space:
mode:
authorjsing <>2020-01-25 16:03:31 +0000
committerjsing <>2020-01-25 16:03:31 +0000
commitaa276a32cdd1e6aa823d07d026ef5db6f8c8f48f (patch)
tree5e6faa14bf094c7598a7802f7c73910d4b5464c1 /src/regress/lib
parent67e47c36d8eec9c17930b04e23b6c29c1a8ab600 (diff)
downloadopenbsd-aa276a32cdd1e6aa823d07d026ef5db6f8c8f48f.tar.gz
openbsd-aa276a32cdd1e6aa823d07d026ef5db6f8c8f48f.tar.bz2
openbsd-aa276a32cdd1e6aa823d07d026ef5db6f8c8f48f.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.
Diffstat (limited to 'src/regress/lib')
-rw-r--r--src/regress/lib/libssl/interop/netcat/Makefile7
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
3LIBRARIES = libressl 3LIBRARIES = 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
82run-protocol-server-${slib}: server-netcat-client-nc-server-${slib}.out 82run-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