mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-21 18:27:22 +00:00
libunbound: Request the OpenSSL 1.1 API
OPENSSL_API_COMPAT can be used to specify the OpenSSL API version in use for the purpose of hiding deprecated interfaces and enabling the appropriate deprecation notices. This change is a NFC while we're still using OpenSSL 1.1.1 but will avoid deprecation warnings upon the switch to OpenSSL 3.0. A future update may migrate to use the OpenSSL 3.0 APIs. PR: 271615 Reviewed by: emaste Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
4e9a97de01
commit
aa4cf5647c
|
@ -14,6 +14,7 @@ PACKAGE= unbound
|
|||
|
||||
CFLAGS+= -I${UNBOUNDDIR} -I${LDNSDIR} -I${.OBJDIR}
|
||||
CFLAGS+= -I${SRCTOP}/usr.sbin/unbound
|
||||
CFLAGS+= -DOPENSSL_API_COMPAT=0x10100000L
|
||||
|
||||
SRCS= alloc.c as112.c authzone.c autotrust.c cachedb.c config_file.c \
|
||||
configlexer.l configparser.y context.c dname.c dns.c dns64.c \
|
||||
|
|
Loading…
Reference in a new issue