summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortb <tb@openbsd.org>2020-10-02 10:03:18 +0000
committertb <tb@openbsd.org>2020-10-02 10:03:18 +0000
commit992748e11a27d0c62887a6275e05255bcc219bc1 (patch)
tree094eb2e4f4450076e69f4012564b7cd2e435bce6
parentrelax check for valid onrdomain range. onrdomain is -1 if the value is (diff)
downloadwireguard-openbsd-992748e11a27d0c62887a6275e05255bcc219bc1.tar.xz
wireguard-openbsd-992748e11a27d0c62887a6275e05255bcc219bc1.zip
Add possibility to link and run this test against the OpenSSL 1.1.1 package
using the make variable EOPENSSL11. Suggested by jsing
-rw-r--r--regress/lib/libcrypto/x509/bettertls/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/regress/lib/libcrypto/x509/bettertls/Makefile b/regress/lib/libcrypto/x509/bettertls/Makefile
index 778e06464aa..9b6efabbf7a 100644
--- a/regress/lib/libcrypto/x509/bettertls/Makefile
+++ b/regress/lib/libcrypto/x509/bettertls/Makefile
@@ -1,6 +1,12 @@
-# $OpenBSD: Makefile,v 1.3 2020/10/02 08:11:49 tb Exp $
+# $OpenBSD: Makefile,v 1.4 2020/10/02 10:03:18 tb Exp $
PROGS = verify
+
+.ifdef EOPENSSL11
+LDADD += -Wl,-rpath,/usr/local/lib/eopenssl11 -L/usr/local/lib/eopenssl11
+CFLAGS += -I/usr/local/include/eopenssl11/
+.endif
+
LDADD += -lcrypto
DPADD += ${LIBCRYPTO}
WARNINGS ?= Yes