From ae8ea74683b0c365b0260b52bc7ca806ebeca371 Mon Sep 17 00:00:00 2001 From: tb Date: Wed, 26 Apr 2023 21:36:42 +0000 Subject: [PATCH] Allow compiling with -DHAS_DAG to enable the policy check with a DAG. ok beck --- lib/libcrypto/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.20.1