From: tb Date: Fri, 28 Apr 2023 16:14:46 +0000 (+0000) Subject: Enable the new policy checking code in x509_policy.c X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=4e44fc80fba47c322a2fff28757b5b71e4e6c1f9;p=openbsd Enable the new policy checking code in x509_policy.c ok beck jsing --- diff --git a/lib/libcrypto/Makefile b/lib/libcrypto/Makefile index 6d5ef882302..7532e32210f 100644 --- a/lib/libcrypto/Makefile +++ b/lib/libcrypto/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.122 2023/04/26 21:36:42 tb Exp $ +# $OpenBSD: Makefile,v 1.123 2023/04/28 16:14:46 tb Exp $ LIB= crypto LIBREBUILD=y @@ -15,13 +15,11 @@ 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 CFLAGS+= -DLIBRESSL_INTERNAL -DLIBRESSL_CRYPTO_INTERNAL +CFLAGS+= -DLIBRESSL_HAS_POLICY_DAG .ifdef NAMESPACE CFLAGS+= -DLIBRESSL_NAMESPACE -DLIBRESSL_CRYPTO_NAMESPACE .endif