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