summaryrefslogtreecommitdiff
path: root/regress/lib/libssl/interop
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2020-01-25 16:03:32 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2020-01-25 16:03:32 +0000
commit6c709b1170fddbd249a64f42ef3cce6b67fae172 (patch)
tree931a80289ff624ee7142ff6e62e693501bdfd0a9 /regress/lib/libssl/interop
parent74a414ab2bc6c31480221dfb29d6ebf14712222a (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.
Diffstat (limited to 'regress/lib/libssl/interop')
-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