summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2020-01-25 16:03:31 +0000
committerjsing <jsing@openbsd.org>2020-01-25 16:03:31 +0000
commitd3fd1cef9eb7d1e50d30912c19eee47ee388ffb9 (patch)
tree813cd39edfe2662f0e2625cbafcc200b5b0081ec
parentDisable session regress for libressl client talking to openssl11 server. (diff)
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--regress/lib/libssl/interop/netcat/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/regress/lib/libssl/interop/netcat/Makefile b/regress/lib/libssl/interop/netcat/Makefile
index 80f49c52f0c..a9947e600c9 100644
--- a/regress/lib/libssl/interop/netcat/Makefile
+++ b/regress/lib/libssl/interop/netcat/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.2 2018/11/11 07:39:35 bluhm Exp $
+# $OpenBSD: Makefile,v 1.3 2020/01/25 16:03:31 jsing Exp $
LIBRARIES = libressl
.if exists(/usr/local/bin/eopenssl)
@@ -81,9 +81,8 @@ REGRESS_TARGETS += run-protocol-server-${slib}
run-protocol-server-${slib}: server-netcat-client-nc-server-${slib}.out
@echo '\n======== $@ ========'
- # check that LibTLS protocol version is TLS 1.2
- # XXX adapt when LibreSSL supports TLS 1.3
- grep 'Protocol *: TLSv1.2' server-netcat-client-nc-server-${slib}.out
+ # check that LibTLS protocol version is TLS 1.2 or TLS 1.3
+ grep 'Protocol *: TLSv1.[23]' server-netcat-client-nc-server-${slib}.out
.endfor