diff options
Diffstat (limited to 'src/regress/lib/libssl/interop/libressl/Makefile')
-rw-r--r-- | src/regress/lib/libssl/interop/libressl/Makefile | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/src/regress/lib/libssl/interop/libressl/Makefile b/src/regress/lib/libssl/interop/libressl/Makefile deleted file mode 100644 index d8e20ca122..0000000000 --- a/src/regress/lib/libssl/interop/libressl/Makefile +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | # $OpenBSD: Makefile,v 1.9 2020/12/25 10:50:08 tb Exp $ | ||
2 | |||
3 | PROGS = client server | ||
4 | CFLAGS += -DLIBRESSL_HAS_TLS1_3 | ||
5 | CPPFLAGS += | ||
6 | LDFLAGS += | ||
7 | LDADD += -lssl -lcrypto | ||
8 | DPADD += ${LIBSSL} ${LIBCRYPTO} | ||
9 | LD_LIBRARY_PATH = | ||
10 | REGRESS_TARGETS = run-self-client-server | ||
11 | .for p in ${PROGS} | ||
12 | REGRESS_TARGETS += run-ldd-$p run-version-$p run-protocol-$p | ||
13 | .endfor | ||
14 | |||
15 | .for p in ${PROGS} | ||
16 | |||
17 | run-ldd-$p: ldd-$p.out | ||
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 | # check that runtime version is LibreSSL | ||
26 | grep 'SSLEAY_VERSION: LibreSSL' $p-self.out | ||
27 | |||
28 | run-protocol-$p: $p-self.out | ||
29 | # check that LibreSSL protocol version is TLS 1.3 | ||
30 | grep 'Protocol *: TLSv1.3' $p-self.out | ||
31 | |||
32 | .endfor | ||
33 | |||
34 | .include <bsd.regress.mk> | ||