summaryrefslogtreecommitdiff
path: root/lib/libcrypto
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2023-04-26 21:36:43 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2023-04-26 21:36:43 +0000
commit940a5648d0822a741414b6803a153a2bec6bf22b (patch)
tree0bea22c2aa475fdd1e2878f07cd8e83f406b88b7 /lib/libcrypto
parentf76bfa47ff66253e18fa8d02b01f84ab7551d012 (diff)
Allow compiling with -DHAS_DAG to enable the policy check with a DAG.
ok beck
Diffstat (limited to 'lib/libcrypto')
-rw-r--r--lib/libcrypto/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libcrypto/Makefile b/lib/libcrypto/Makefile
index 4e363d970b2..6d5ef882302 100644
--- a/lib/libcrypto/Makefile
+++ b/lib/libcrypto/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.121 2023/04/26 19:16:02 beck Exp $
+# $OpenBSD: Makefile,v 1.122 2023/04/26 21:36:42 tb Exp $
LIB= crypto
LIBREBUILD=y
@@ -15,6 +15,9 @@ CLEANFILES=${PC_FILES} ${VERSION_SCRIPT}
LCRYPTO_SRC= ${.CURDIR}
CFLAGS+= -Wall -Wundef
+.ifdef HAS_DAG
+CFLAGS+= -DLIBRESSL_HAS_POLICY_DAG
+.endif
.if ${COMPILER_VERSION:L} == "clang"
CFLAGS+= -Werror
.endif