git: c6750ddec917 - main - Require the OpenSSL 1.1 APIs when compiling ldns
Date: Sat, 20 May 2023 18:41:51 UTC
The branch main has been updated by ngie: URL: https://cgit.FreeBSD.org/src/commit/?id=c6750ddec9177b67bb4883717933e87ac24a3a44 commit c6750ddec9177b67bb4883717933e87ac24a3a44 Author: Enji Cooper <ngie@FreeBSD.org> AuthorDate: 2023-05-13 02:38:18 +0000 Commit: Enji Cooper <ngie@FreeBSD.org> CommitDate: 2023-05-20 18:41:24 +0000 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 <pierre@freebsdfoundation.org> 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 40efe0ff0fda..df75e403e7d5 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 \