summaryrefslogtreecommitdiff
path: root/src/regress/lib/libssl/interop
diff options
context:
space:
mode:
authorjsing <>2020-05-11 18:20:24 +0000
committerjsing <>2020-05-11 18:20:24 +0000
commitdefec0abb96e1a3973ad4147265194f5f3758381 (patch)
tree518ab99f96f0a5239d845ddfdb19ca9c025f6fba /src/regress/lib/libssl/interop
parent8ed7843af36a6b4a5b8f87df523d65e1b6b58ee3 (diff)
downloadopenbsd-defec0abb96e1a3973ad4147265194f5f3758381.tar.gz
openbsd-defec0abb96e1a3973ad4147265194f5f3758381.tar.bz2
openbsd-defec0abb96e1a3973ad4147265194f5f3758381.zip
Revise regress for TLSv1.3 server being enabled.
Diffstat (limited to 'src/regress/lib/libssl/interop')
-rw-r--r--src/regress/lib/libssl/interop/libressl/Makefile7
-rw-r--r--src/regress/lib/libssl/interop/netcat/Makefile7
-rw-r--r--src/regress/lib/libssl/interop/session/Makefile4
3 files changed, 9 insertions, 9 deletions
diff --git a/src/regress/lib/libssl/interop/libressl/Makefile b/src/regress/lib/libssl/interop/libressl/Makefile
index 868c3c146f..16ec8cf086 100644
--- a/src/regress/lib/libssl/interop/libressl/Makefile
+++ b/src/regress/lib/libssl/interop/libressl/Makefile
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile,v 1.5 2018/11/11 00:15:04 bluhm Exp $ 1# $OpenBSD: Makefile,v 1.6 2020/05/11 18:20:24 jsing Exp $
2 2
3PROGS = client server 3PROGS = client server
4CPPFLAGS = 4CPPFLAGS =
@@ -28,9 +28,8 @@ run-version-$p: $p-self.out
28 28
29run-protocol-$p: $p-self.out 29run-protocol-$p: $p-self.out
30 @echo '\n======== $@ ========' 30 @echo '\n======== $@ ========'
31 # check that LibreSSL protocol version is TLS 1.2 31 # check that LibreSSL protocol version is TLS 1.3
32 # XXX adapt when LibreSSL supports TLS 1.3 32 grep 'Protocol *: TLSv1.3' $p-self.out
33 grep 'Protocol *: TLSv1.2' $p-self.out
34 33
35.endfor 34.endfor
36 35
diff --git a/src/regress/lib/libssl/interop/netcat/Makefile b/src/regress/lib/libssl/interop/netcat/Makefile
index a9947e600c..ef51d0597e 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.3 2020/01/25 16:03:31 jsing Exp $ 1# $OpenBSD: Makefile,v 1.4 2020/05/11 18:20:24 jsing Exp $
2 2
3LIBRARIES = libressl 3LIBRARIES = libressl
4.if exists(/usr/local/bin/eopenssl) 4.if exists(/usr/local/bin/eopenssl)
@@ -69,9 +69,8 @@ REGRESS_TARGETS += run-protocol-client-${clib}
69 69
70run-protocol-client-${clib}: client-netcat-client-${clib}-server-nc.out 70run-protocol-client-${clib}: client-netcat-client-${clib}-server-nc.out
71 @echo '\n======== $@ ========' 71 @echo '\n======== $@ ========'
72 # check that LibTLS protocol version is TLS 1.2 72 # check that LibTLS protocol version is TLS 1.2 or TLS 1.3
73 # XXX adapt when LibreSSL supports TLS 1.3 73 grep 'Protocol *: TLSv1.[23]' client-netcat-client-${clib}-server-nc.out
74 grep 'Protocol *: TLSv1.2' client-netcat-client-${clib}-server-nc.out
75 74
76.endfor 75.endfor
77 76
diff --git a/src/regress/lib/libssl/interop/session/Makefile b/src/regress/lib/libssl/interop/session/Makefile
index 72062ddaca..a99ab008a6 100644
--- a/src/regress/lib/libssl/interop/session/Makefile
+++ b/src/regress/lib/libssl/interop/session/Makefile
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile,v 1.4 2020/01/25 16:01:43 jsing Exp $ 1# $OpenBSD: Makefile,v 1.5 2020/05/11 18:20:24 jsing Exp $
2 2
3LIBRARIES = libressl 3LIBRARIES = libressl
4.if exists(/usr/local/bin/eopenssl) 4.if exists(/usr/local/bin/eopenssl)
@@ -8,7 +8,9 @@ LIBRARIES += openssl
8LIBRARIES += openssl11 8LIBRARIES += openssl11
9.endif 9.endif
10 10
11run-session-client-libressl-server-libressl \
11run-session-client-libressl-server-openssl11 \ 12run-session-client-libressl-server-openssl11 \
13run-session-client-openssl11-server-libressl \
12run-session-client-openssl11-server-openssl11: 14run-session-client-openssl11-server-openssl11:
13 @echo '\n======== $@ ========' 15 @echo '\n======== $@ ========'
14 # TLS 1.3 needs some extra setup for session reuse 16 # TLS 1.3 needs some extra setup for session reuse