summaryrefslogtreecommitdiff
path: root/src/regress/lib/libssl/interop/openssl
diff options
context:
space:
mode:
Diffstat (limited to 'src/regress/lib/libssl/interop/openssl')
-rw-r--r--src/regress/lib/libssl/interop/openssl/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/regress/lib/libssl/interop/openssl/Makefile b/src/regress/lib/libssl/interop/openssl/Makefile
index 9661767d7b..ad0c7288ca 100644
--- a/src/regress/lib/libssl/interop/openssl/Makefile
+++ b/src/regress/lib/libssl/interop/openssl/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
3.if ! exists(/usr/local/bin/eopenssl) 3.if ! exists(/usr/local/bin/eopenssl)
4regress: 4regress:
@@ -22,11 +22,18 @@ run-ldd-$p: ldd-$p.out
22 grep -q /usr/local/lib/eopenssl/libssl.so ldd-$p.out 22 grep -q /usr/local/lib/eopenssl/libssl.so ldd-$p.out
23 # check that $p is not linked with LibreSSL 23 # check that $p is not linked with LibreSSL
24 ! grep -v libc.so ldd-$p.out | grep /usr/lib/ 24 ! grep -v libc.so ldd-$p.out | grep /usr/lib/
25.endfor
25 26
26run-version-$p: $p.out 27.for o in nc-client nc-server self-client self-server
28run-version-$o: $o.out
27 @echo '\n======== $@ ========' 29 @echo '\n======== $@ ========'
28 # check that runtime version is OpenSSL 1.0 30 # check that runtime version is OpenSSL 1.0
29 grep 'SSLEAY_VERSION: OpenSSL 1.0' $p.out 31 grep 'SSLEAY_VERSION: OpenSSL 1.0' $o.out
32
33run-protocol-$o: $o.out
34 @echo '\n======== $@ ========'
35 # check that protocol version is TLS 1.2
36 grep 'Protocol *: TLSv1.2' $o.out
30.endfor 37.endfor
31 38
32.include <bsd.regress.mk> 39.include <bsd.regress.mk>