summaryrefslogtreecommitdiff
path: root/src/regress/lib/libssl/interop/libressl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/regress/lib/libssl/interop/libressl/Makefile19
1 files changed, 16 insertions, 3 deletions
diff --git a/src/regress/lib/libssl/interop/libressl/Makefile b/src/regress/lib/libssl/interop/libressl/Makefile
index 5fce6c5c22..19557ffbc1 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.2 2018/11/07 06:29:26 bluhm Exp $ 1# $OpenBSD: Makefile,v 1.3 2018/11/07 20:46:28 bluhm Exp $
2 2
3PROGS = client server 3PROGS = client server
4CPPFLAGS = 4CPPFLAGS =
@@ -7,6 +7,12 @@ LDADD = -lssl -lcrypto
7DPADD = ${LIBSSL} ${LIBCRYPTO} 7DPADD = ${LIBSSL} ${LIBCRYPTO}
8LD_LIBRARY_PATH = 8LD_LIBRARY_PATH =
9 9
10run-protocol-self-client run-protocol-self-server \
11run-protocol-nc-client run-protocol-nc-server:
12 @echo '\n======== $@ ========'
13 # LibreSSL does not support TLS 1.3 yet
14 @echo DISABLED
15
10.for p in ${PROGS} 16.for p in ${PROGS}
11run-ldd-$p: ldd-$p.out 17run-ldd-$p: ldd-$p.out
12 @echo '\n======== $@ ========' 18 @echo '\n======== $@ ========'
@@ -15,11 +21,18 @@ run-ldd-$p: ldd-$p.out
15 grep -q /usr/lib/libssl.so ldd-$p.out 21 grep -q /usr/lib/libssl.so ldd-$p.out
16 # check that $p is not linked with OpenSSL 22 # check that $p is not linked with OpenSSL
17 ! grep /usr/local/lib/ ldd-$p.out 23 ! grep /usr/local/lib/ ldd-$p.out
24.endfor
18 25
19run-version-$p: $p.out 26.for o in nc-client nc-server self-client self-server
27run-version-$o: $o.out
20 @echo '\n======== $@ ========' 28 @echo '\n======== $@ ========'
21 # check that runtime version is LibreSSL 29 # check that runtime version is LibreSSL
22 grep 'SSLEAY_VERSION: LibreSSL' $p.out 30 grep 'SSLEAY_VERSION: LibreSSL' $o.out
31
32run-protocol-$o: $o.out
33 @echo '\n======== $@ ========'
34 # check that protocol version is TLS 1.3
35 grep 'Protocol *: TLSv1.3' $o.out
23.endfor 36.endfor
24 37
25.include <bsd.regress.mk> 38.include <bsd.regress.mk>