summaryrefslogtreecommitdiff
path: root/src/regress/lib/libssl/interop/openssl
diff options
context:
space:
mode:
authorbluhm <>2018-11-07 06:29:26 +0000
committerbluhm <>2018-11-07 06:29:26 +0000
commitf9dbc90145487245088b16c223cdd3a15fcaf9c2 (patch)
treec5a86b9acc7138b145ea944e9c16cf2901e261a3 /src/regress/lib/libssl/interop/openssl
parentce26c3410b909ac6a3b6467a194cd79210869e06 (diff)
downloadopenbsd-f9dbc90145487245088b16c223cdd3a15fcaf9c2.tar.gz
openbsd-f9dbc90145487245088b16c223cdd3a15fcaf9c2.tar.bz2
openbsd-f9dbc90145487245088b16c223cdd3a15fcaf9c2.zip
Print SSLeay, OpenSSL, and LibreSSL version strings. Make client
and server compile with OpenSSL 1.1. Check runtime version string of SSL library.
Diffstat (limited to 'src/regress/lib/libssl/interop/openssl')
-rw-r--r--src/regress/lib/libssl/interop/openssl/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/regress/lib/libssl/interop/openssl/Makefile b/src/regress/lib/libssl/interop/openssl/Makefile
index 26095d0019..9661767d7b 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.1.1.1 2018/11/07 01:08:49 bluhm Exp $ 1# $OpenBSD: Makefile,v 1.2 2018/11/07 06:29:26 bluhm Exp $
2 2
3.if ! exists(/usr/local/bin/eopenssl) 3.if ! exists(/usr/local/bin/eopenssl)
4regress: 4regress:
@@ -22,6 +22,11 @@ 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
26run-version-$p: $p.out
27 @echo '\n======== $@ ========'
28 # check that runtime version is OpenSSL 1.0
29 grep 'SSLEAY_VERSION: OpenSSL 1.0' $p.out
25.endfor 30.endfor
26 31
27.include <bsd.regress.mk> 32.include <bsd.regress.mk>