diff options
author | bluhm <> | 2018-11-07 06:29:26 +0000 |
---|---|---|
committer | bluhm <> | 2018-11-07 06:29:26 +0000 |
commit | f9dbc90145487245088b16c223cdd3a15fcaf9c2 (patch) | |
tree | c5a86b9acc7138b145ea944e9c16cf2901e261a3 /src/regress/lib/libssl/interop/openssl | |
parent | ce26c3410b909ac6a3b6467a194cd79210869e06 (diff) | |
download | openbsd-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/Makefile | 7 |
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) |
4 | regress: | 4 | regress: |
@@ -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 | |||
26 | run-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> |