diff options
| author | cvs2svn <admin@example.com> | 2021-08-30 17:27:46 +0000 |
|---|---|---|
| committer | cvs2svn <admin@example.com> | 2021-08-30 17:27:46 +0000 |
| commit | 4e4f5b4c833ba5285e001bdb6b832bdf91c43da3 (patch) | |
| tree | ab301f051b9dd067fa28b0fe56806a2893b8161e /src/regress/lib/libssl/interop/openssl | |
| parent | 20a5de624e2e817be526407f2b8de078016ee258 (diff) | |
| download | openbsd-tb_20210830.tar.gz openbsd-tb_20210830.tar.bz2 openbsd-tb_20210830.zip | |
This commit was manufactured by cvs2git to create tag 'tb_20210830'.tb_20210830
Diffstat (limited to 'src/regress/lib/libssl/interop/openssl')
| -rw-r--r-- | src/regress/lib/libssl/interop/openssl/Makefile | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/src/regress/lib/libssl/interop/openssl/Makefile b/src/regress/lib/libssl/interop/openssl/Makefile deleted file mode 100644 index 181d35aa02..0000000000 --- a/src/regress/lib/libssl/interop/openssl/Makefile +++ /dev/null | |||
| @@ -1,42 +0,0 @@ | |||
| 1 | # $OpenBSD: Makefile,v 1.8 2020/12/17 00:51:11 bluhm Exp $ | ||
| 2 | |||
| 3 | .if ! exists(/usr/local/bin/eopenssl) | ||
| 4 | regress: | ||
| 5 | # install openssl-1.0.2 from ports for interop tests | ||
| 6 | @echo SKIPPED | ||
| 7 | .else | ||
| 8 | |||
| 9 | PROGS = client server | ||
| 10 | CPPFLAGS = -I /usr/local/include/eopenssl | ||
| 11 | LDFLAGS = -L /usr/local/lib/eopenssl | ||
| 12 | LDADD = -lssl -lcrypto | ||
| 13 | DPADD = /usr/local/lib/eopenssl/libssl.a \ | ||
| 14 | /usr/local/lib/eopenssl/libcrypto.a | ||
| 15 | LD_LIBRARY_PATH = /usr/local/lib/eopenssl | ||
| 16 | REGRESS_TARGETS = run-self-client-server | ||
| 17 | .for p in ${PROGS} | ||
| 18 | REGRESS_TARGETS += run-ldd-$p run-version-$p run-protocol-$p | ||
| 19 | .endfor | ||
| 20 | |||
| 21 | .for p in ${PROGS} | ||
| 22 | |||
| 23 | run-ldd-$p: ldd-$p.out | ||
| 24 | # check that $p is linked with OpenSSL | ||
| 25 | grep -q /usr/local/lib/eopenssl/libcrypto.so ldd-$p.out | ||
| 26 | grep -q /usr/local/lib/eopenssl/libssl.so ldd-$p.out | ||
| 27 | # check that $p is not linked with LibreSSL | ||
| 28 | ! grep -v libc.so ldd-$p.out | grep /usr/lib/ | ||
| 29 | |||
| 30 | run-version-$p: $p-self.out | ||
| 31 | # check that runtime version is OpenSSL 1.0.2 | ||
| 32 | grep 'SSLEAY_VERSION: OpenSSL 1.0.2' $p-self.out | ||
| 33 | |||
| 34 | run-protocol-$p: $p-self.out | ||
| 35 | # check that OpenSSL 1.0.2 protocol version is TLS 1.2 | ||
| 36 | grep 'Protocol *: TLSv1.2' $p-self.out | ||
| 37 | |||
| 38 | .endfor | ||
| 39 | |||
| 40 | .endif # exists(/usr/local/bin/eopenssl) | ||
| 41 | |||
| 42 | .include <bsd.regress.mk> | ||
