From nobody Thu May 25 02:17:04 2023 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QRWsF1FdPz4CTmL; Thu, 25 May 2023 02:17:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QRWsF0brRz3y1G; Thu, 25 May 2023 02:17:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684981025; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=E5SAzHuA76sQDD8bG3buYLr8ArGAInJfRPDAuLzRB0U=; b=liUCqZW72iK91ze2zxhWCXjysb4xVGWU8dmN1jy+3/lf69Vz4H86QRR1ylXpEbZxbY2ZtE tFlrIWoYUS84LfFwE6EpWMMw9n0WG6uzqPfUXc99T3D21ja/6QdWg67TYYlfnfKqkASWsa WUEiSCxviREKIQCqVNwuG5DWv94A82k8lCa8zNakhqIkfZG/iwtXI7K73rtMpU28Ry4v9l ZU8G1s1Sz8xFbyAuh7BzcGEIr2CQAbzitXZvaglrfvivb6e3hVYGnUL/Y3Edq58fVBPdHk BddLp6SDxp0joUcHYpG15UCMkqF2Wj1ngconbCPG6F7iG0jS/Ky264NlzJKhBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684981025; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=E5SAzHuA76sQDD8bG3buYLr8ArGAInJfRPDAuLzRB0U=; b=jwSbsO+4YsZOvAiJRpO2tHnmv7S1wXuYhrC1lVJkSpCmvecIrjSz/hDcu2EsbPQezqhJxB qvHMeaT6oWemC7QFRrKMSFKIhYskFcbPxmiTq5ZiucjEbPDTv0/Y/WteCcp2sR9ai62h9c P1l3Nu/qAYaRVp/spW4b8+QZV8R9SltNaU3ZGISl+Wzc2J5hFCzJauZ3VLaQufUGJlIYh8 9Gv/79QaAVdbvh71BdPdj3mnXjvtQpEM0iTeTTYVSynWqYnTVAScQ631Y1TOs4p03O/bk4 yf0dwp7L4RhtvxOOH6wOZV05R0geaViotem2k81nE7BFwNieFvDnsKK7dS9rhg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684981025; a=rsa-sha256; cv=none; b=frLbiOKjiEzhFZRrAIZEF/jKzW+jrBTVy8d8iCaZNp0n+IizSdqmxLgbeGcZHpLTFPV577 +QSCrRBfRrVruRulsUCRK5nrJMgH3j5a7yJU9wIurgcIhBqq086axBIu79f0epxNk3qibr 8onD+Y1iKdT40P4vp9kaJ2L4BW/H1Q0hKf/0gsWZ8/xnuVAgGYS//+zzTzb530xF8lgKnj g6D7xcl5F10fTftDrguPPBEURoTCYxcX+7JRFiPxHJeUOxJjK6LMiw07IiGv3p4p2Sileh GAzXz5kX2qQ/H2JcJsVgjyrzmm27OkIlvRj2RvEUh1PLkoDL7xHIqJvewc85xg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QRWsD6n2xz162H; Thu, 25 May 2023 02:17:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 34P2H4mN058057; Thu, 25 May 2023 02:17:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34P2H4SO058056; Thu, 25 May 2023 02:17:04 GMT (envelope-from git) Date: Thu, 25 May 2023 02:17:04 GMT Message-Id: <202305250217.34P2H4SO058056@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: b238d51d0adc - main - ldns: specify OpenSSL 1.1 APIs List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b238d51d0adc43e2bab347e5ef13c323c1857c5e Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=b238d51d0adc43e2bab347e5ef13c323c1857c5e commit b238d51d0adc43e2bab347e5ef13c323c1857c5e Author: Pierre Pronchery AuthorDate: 2023-05-13 02:38:18 +0000 Commit: Ed Maste CommitDate: 2023-05-25 02:16:48 +0000 ldns: specify OpenSSL 1.1 APIs 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 ldns update should migrate to use the OpenSSL 3.0 APIs. This is a recommit of c6750ddec917 after the ldns update in 5afab0e5e56f. PR: 271615 Event: Kitchener-Waterloo Hackathon 202305 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 5764089e60a1..7714db950f00 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 edns.c error.c higher.c host2str.c \