summaryrefslogtreecommitdiff
path: root/src/regress/lib/libssl/interop/openssl33
diff options
context:
space:
mode:
authortb <>2025-07-25 16:33:15 +0000
committertb <>2025-07-25 16:33:15 +0000
commit59f09d3bd92a58f2493043b70a91102b64275929 (patch)
treedcdb417ae88ba8f25672d4514f97b3396d5af79a /src/regress/lib/libssl/interop/openssl33
parentfe187acac9a4ccb8b38a49a9b5aa793778a50e68 (diff)
downloadopenbsd-59f09d3bd92a58f2493043b70a91102b64275929.tar.gz
openbsd-59f09d3bd92a58f2493043b70a91102b64275929.tar.bz2
openbsd-59f09d3bd92a58f2493043b70a91102b64275929.zip
Retire interop tests with OpenSSL 3.3 and 3.4
Diffstat (limited to 'src/regress/lib/libssl/interop/openssl33')
-rw-r--r--src/regress/lib/libssl/interop/openssl33/Makefile44
1 files changed, 0 insertions, 44 deletions
diff --git a/src/regress/lib/libssl/interop/openssl33/Makefile b/src/regress/lib/libssl/interop/openssl33/Makefile
deleted file mode 100644
index e82d75c001..0000000000
--- a/src/regress/lib/libssl/interop/openssl33/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
1# $OpenBSD: Makefile,v 1.2 2025/06/23 07:22:32 anton Exp $
2
3.if ! exists(/usr/local/bin/eopenssl33)
4regress:
5 # install openssl-3.3 from ports for interop tests
6 @echo 'Run "pkg_add openssl--%3.3" to run tests against OpenSSL 3.3'
7 @echo SKIPPED
8.else
9
10PROGS = client server
11CFLAGS += -DOPENSSL_SUPPRESS_DEPRECATED
12CPPFLAGS = -I /usr/local/include/eopenssl33
13LDFLAGS = -L /usr/local/lib/eopenssl33
14LDADD = -lssl -lcrypto
15DPADD = /usr/local/lib/eopenssl33/libssl.a \
16 /usr/local/lib/eopenssl33/libcrypto.a
17LD_LIBRARY_PATH = /usr/local/lib/eopenssl33
18REGRESS_TARGETS = run-self-client-server
19.for p in ${PROGS}
20REGRESS_TARGETS += run-ldd-$p run-version-$p run-protocol-$p
21.endfor
22
23.for p in ${PROGS}
24
25run-ldd-$p: ldd-$p.out
26 # check that $p is linked with OpenSSL 3.3
27 grep -q /usr/local/lib/eopenssl33/libcrypto.so ldd-$p.out
28 grep -q /usr/local/lib/eopenssl33/libssl.so ldd-$p.out
29 # check that $p is not linked with LibreSSL
30 ! grep -v -e libc.so -e libpthread.so ldd-$p.out | grep /usr/lib/
31
32run-version-$p: $p-self.out
33 # check that runtime version is OpenSSL 3.3
34 grep 'SSLEAY_VERSION: OpenSSL 3.3' $p-self.out
35
36run-protocol-$p: $p-self.out
37 # check that OpenSSL 3.3 protocol version is TLS 1.3
38 grep 'Protocol *: TLSv1.3' $p-self.out
39
40.endfor
41
42.endif # exists(/usr/local/bin/eopenssl33)
43
44.include <bsd.regress.mk>