From nobody Thu May 25 17:16:58 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 4QRvqZ58dbz4WSfw; Thu, 25 May 2023 17:16:58 +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 4QRvqZ4YcXz3n35; Thu, 25 May 2023 17:16:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685035018; 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=L5eyC8Uzm4xzKz4dG70EgZrmhhubGAYhl8TA41+NjdI=; b=oY35Rkv5pwpbGyxpJU4RqNBTbPe5Keadt6nxa0O63YvRQwTZ3VX5q29Q1llBTY/2jk0aqz 38gI5ZXpyolXrX+KeQqYm2c20vxUopuuacTqj0ndcNWqnMI4tlUxxb2A+Jzv/9KlNTVIfb TthqASpMmUIEDvjVwNQP7GxP8EuzNumWHo38ROT+sBs4ly2nr3GXezLfgnZj1Tlw2a27i2 CI2AJl3HHNyXFEVA4NP1OtoyMoJWGq1hvzRSNx1Dh2oYyPMl9Bm6lT6N0TdkoO70YguqP6 e2HbWkfYbh+FouY9YWkjojjYzpk3TefC6HpQIxVfP6620b9SACGiQolVeEpTGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685035018; 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=L5eyC8Uzm4xzKz4dG70EgZrmhhubGAYhl8TA41+NjdI=; b=mGhXPSqtrhs/ViXKWcCsQ2pd5+5XuX2yB370FPI/PTDPAn6U7t4FuiZtfqpsc7CYLPGygH xWmYfS9/LOUCnKXL/+tRt74sm5b0NaUDdB5VYVFq5kQGIBoTK8v51sGF4InfCQsSyEOpd8 zhzoQlIkmth3RXcK4+GxQYPl8QbPvp9O4m/6O3akiyNwdCdIy5mTdYClxzAns56Zix8Gwi Xa9PMo3LdRuNr0j3mf9ZX5QBSoFgZ/zy20Qm1Qt5U1mZ3Kf9HnxbtLice93UkpSrhL5u1S ynebkIPL5WBOwjsuKqxGK/VED5+c1yuVfc0AbDAeG3viiDZS79/dgClYwlkHrQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685035018; a=rsa-sha256; cv=none; b=bgetfKmw3/rW1mOhsrsVRWtTOsIGZiflE1yqP/EChSGc4r/smIYk8YKIXx/gKIz/uEhBkJ Byxe5lneKO2LLW68AhxdkGsiw5RiMU5jqlHyWuuReWoFM3UtVdNL5x5ZrzaXrX4tPwCEBk 4GL1WphRL8W32a3Ivkz5v5bIC0HmD+zuMA+O5nsRBED5UCwdJ9hXHciZuUD+fPJ05t+xjL gIFjQ5vvQUsvuJjvb0x7KNalggPaRNRiJyJ9RwAMgFhmv5KkTe94fJeT2OeUxjVx/df6MD XrBXhoLO9BQlRt5ftqmUrEY6i3nwPP2YGlFUBRcqog8tV9bB6vUaJG9Ga4kS8A== 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 4QRvqZ3ZFrzYXT; Thu, 25 May 2023 17:16:58 +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 34PHGwH0044623; Thu, 25 May 2023 17:16:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34PHGwJc044622; Thu, 25 May 2023 17:16:58 GMT (envelope-from git) Date: Thu, 25 May 2023 17:16:58 GMT Message-Id: <202305251716.34PHGwJc044622@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: 77d788e23d09 - main - libfetch: 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: 77d788e23d0964053b81b5de307fa04bd1ccadc5 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=77d788e23d0964053b81b5de307fa04bd1ccadc5 commit 77d788e23d0964053b81b5de307fa04bd1ccadc5 Author: Pierre Pronchery AuthorDate: 2023-05-25 06:46:02 +0000 Commit: Ed Maste CommitDate: 2023-05-25 17:15:45 +0000 libfetch: 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. Future work should migrate to use the OpenSSL 3.0 APIs. PR: 271615 Reviewed by: emaste Event: Kitchener-Waterloo Hackathon 202305 Sponsored by: The FreeBSD Foundation --- lib/libfetch/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/libfetch/Makefile b/lib/libfetch/Makefile index 607ff6e05c5e..9ac370faa05d 100644 --- a/lib/libfetch/Makefile +++ b/lib/libfetch/Makefile @@ -18,6 +18,7 @@ CFLAGS+= -DINET6 .if ${MK_OPENSSL} != "no" CFLAGS+= -DWITH_SSL +CFLAGS+= -DOPENSSL_API_COMPAT=0x10100000L LIBADD+= ssl crypto .else LIBADD+= md