diff options
Diffstat (limited to 'src/regress/lib/libssl/interop/libressl/Makefile')
| -rw-r--r-- | src/regress/lib/libssl/interop/libressl/Makefile | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/src/regress/lib/libssl/interop/libressl/Makefile b/src/regress/lib/libssl/interop/libressl/Makefile deleted file mode 100644 index 868c3c146f..0000000000 --- a/src/regress/lib/libssl/interop/libressl/Makefile +++ /dev/null | |||
| @@ -1,37 +0,0 @@ | |||
| 1 | # $OpenBSD: Makefile,v 1.5 2018/11/11 00:15:04 bluhm Exp $ | ||
| 2 | |||
| 3 | PROGS = client server | ||
| 4 | CPPFLAGS = | ||
| 5 | LDFLAGS = | ||
| 6 | LDADD = -lssl -lcrypto | ||
| 7 | DPADD = ${LIBSSL} ${LIBCRYPTO} | ||
| 8 | LD_LIBRARY_PATH = | ||
| 9 | REGRESS_TARGETS = run-self-client-server | ||
| 10 | .for p in ${PROGS} | ||
| 11 | REGRESS_TARGETS += run-ldd-$p run-version-$p run-protocol-$p | ||
| 12 | .endfor | ||
| 13 | |||
| 14 | .for p in ${PROGS} | ||
| 15 | |||
| 16 | run-ldd-$p: ldd-$p.out | ||
| 17 | @echo '\n======== $@ ========' | ||
| 18 | # check that $p is linked with LibreSSL | ||
| 19 | grep -q /usr/lib/libcrypto.so ldd-$p.out | ||
| 20 | grep -q /usr/lib/libssl.so ldd-$p.out | ||
| 21 | # check that $p is not linked with OpenSSL | ||
| 22 | ! grep /usr/local/lib/ ldd-$p.out | ||
| 23 | |||
| 24 | run-version-$p: $p-self.out | ||
| 25 | @echo '\n======== $@ ========' | ||
| 26 | # check that runtime version is LibreSSL | ||
| 27 | grep 'SSLEAY_VERSION: LibreSSL' $p-self.out | ||
| 28 | |||
| 29 | run-protocol-$p: $p-self.out | ||
| 30 | @echo '\n======== $@ ========' | ||
| 31 | # check that LibreSSL protocol version is TLS 1.2 | ||
| 32 | # XXX adapt when LibreSSL supports TLS 1.3 | ||
| 33 | grep 'Protocol *: TLSv1.2' $p-self.out | ||
| 34 | |||
| 35 | .endfor | ||
| 36 | |||
| 37 | .include <bsd.regress.mk> | ||
