Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 May 2023 14:05:22 GMT
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: aa4cf5647cdc - main - libunbound: Request the OpenSSL 1.1 API
Message-ID:  <202305311405.34VE5MSb094026@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=aa4cf5647cdc9f19c356414e67350ced3334a609

commit aa4cf5647cdc9f19c356414e67350ced3334a609
Author:     Pierre Pronchery <pierre@freebsdfoundation.org>
AuthorDate: 2023-05-25 05:34:44 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2023-05-31 14:05:07 +0000

    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
---
 lib/libunbound/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/libunbound/Makefile b/lib/libunbound/Makefile
index 4ce8fcb4ab92..0b7f92e3318f 100644
--- a/lib/libunbound/Makefile
+++ b/lib/libunbound/Makefile
@@ -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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202305311405.34VE5MSb094026>