From c6750ddec9177b67bb4883717933e87ac24a3a44 Mon Sep 17 00:00:00 2001 From: Enji Cooper Date: Fri, 12 May 2023 19:38:18 -0700 Subject: [PATCH] Require the OpenSSL 1.1 APIs when compiling ldns Moving the APIs from OpenSSL 1.1 supporting APIs to 3.x supporting APIs is a non-trivial effort. Require 1.1 API compatibility to unblock updating OpenSSL in base to 3.x. This mirrors what upstream has done in their configure.ac file. Submitted by: Pierre Pronchery Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D40082 --- lib/libldns/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/libldns/Makefile b/lib/libldns/Makefile index 40efe0ff0fd..df75e403e7d 100644 --- a/lib/libldns/Makefile +++ b/lib/libldns/Makefile @@ -10,6 +10,7 @@ LIB= ldns PRIVATELIB= true CFLAGS+= -I${LDNSDIR} +CFLAGS+= -DOPENSSL_API_COMPAT=0x10100000L SRCS= buffer.c dane.c dname.c dnssec.c dnssec_sign.c dnssec_verify.c \ dnssec_zone.c duration.c error.c higher.c host2str.c host2wire.c \ -- 2.45.2