summaryrefslogtreecommitdiff
path: root/src/regress/lib/libssl/interop/openssl11
diff options
context:
space:
mode:
Diffstat (limited to 'src/regress/lib/libssl/interop/openssl11')
-rw-r--r--src/regress/lib/libssl/interop/openssl11/Makefile18
1 files changed, 15 insertions, 3 deletions
diff --git a/src/regress/lib/libssl/interop/openssl11/Makefile b/src/regress/lib/libssl/interop/openssl11/Makefile
index b11e08488a..e7257a3976 100644
--- a/src/regress/lib/libssl/interop/openssl11/Makefile
+++ b/src/regress/lib/libssl/interop/openssl11/Makefile
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile,v 1.1 2018/11/07 19:09:01 bluhm Exp $ 1# $OpenBSD: Makefile,v 1.2 2018/11/07 20:46:28 bluhm Exp $
2 2
3.if ! exists(/usr/local/bin/eopenssl11) 3.if ! exists(/usr/local/bin/eopenssl11)
4regress: 4regress:
@@ -14,6 +14,11 @@ DPADD = /usr/local/lib/eopenssl11/libssl.a \
14 /usr/local/lib/eopenssl11/libcrypto.a 14 /usr/local/lib/eopenssl11/libcrypto.a
15LD_LIBRARY_PATH = /usr/local/lib/eopenssl11 15LD_LIBRARY_PATH = /usr/local/lib/eopenssl11
16 16
17run-protocol-nc-client run-protocol-nc-server:
18 @echo '\n======== $@ ========'
19 # LibreSSL does not support TLS 1.3 yet
20 @echo DISABLED
21
17.for p in ${PROGS} 22.for p in ${PROGS}
18run-ldd-$p: ldd-$p.out 23run-ldd-$p: ldd-$p.out
19 @echo '\n======== $@ ========' 24 @echo '\n======== $@ ========'
@@ -22,11 +27,18 @@ run-ldd-$p: ldd-$p.out
22 grep -q /usr/local/lib/eopenssl11/libssl.so ldd-$p.out 27 grep -q /usr/local/lib/eopenssl11/libssl.so ldd-$p.out
23 # check that $p is not linked with LibreSSL 28 # check that $p is not linked with LibreSSL
24 ! grep -v libc.so ldd-$p.out | grep /usr/lib/ 29 ! grep -v libc.so ldd-$p.out | grep /usr/lib/
30.endfor
25 31
26run-version-$p: $p.out 32.for o in nc-client nc-server self-client self-server
33run-version-$o: $o.out
27 @echo '\n======== $@ ========' 34 @echo '\n======== $@ ========'
28 # check that runtime version is OpenSSL 1.1 35 # check that runtime version is OpenSSL 1.1
29 grep 'SSLEAY_VERSION: OpenSSL 1.1' $p.out 36 grep 'SSLEAY_VERSION: OpenSSL 1.1' $o.out
37
38run-protocol-$o: $o.out
39 @echo '\n======== $@ ========'
40 # check that protocol version is TLS 1.3
41 grep 'Protocol *: TLSv1.3' $o.out
30.endfor 42.endfor
31 43
32.include <bsd.regress.mk> 44.include <bsd.regress.mk>