From nobody Thu May 25 19:09:17 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 4QRyK95ftnz4WZRR; Thu, 25 May 2023 19:09:17 +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 4QRyK958Twz45Rh; Thu, 25 May 2023 19:09:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685041757; 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=7C5tSaynDSGBfk0xpVDOkBIhojz+LaL2zdLxVW+LNIU=; b=AHrWdHnMatW2YMZlT9/QWVWEIvGGhd/pleVxbUP3ihxagevHw4Ij0BFngY34Lwt34208Dd bo5lQ6Qx5UfhFcLgYgdYJ7CIkBX/7zG+Ot1WkCV75eNLYfAwZTy2YESFb3z9QwbxqYHxbW goaBGeUnFjCzjNAl4XS8AAnTP/Ag2xSHfkaFvcqyIYBn/r6VS1cRmiMIwfwjcP2t7dumEM w01KbnL4OXCddv0OR4ei7Fc2n8BZOlEkUdxvyPGX7GMbNLsnw+U+kzSVU9AxHuu3bgCVUK 986O8mEzKLDJTHxsm3Cw3GGj1VK+OY7jkjeSlhxrodj7A0BwjaHZn4dSF8thcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685041757; 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=7C5tSaynDSGBfk0xpVDOkBIhojz+LaL2zdLxVW+LNIU=; b=iqC9HdCdZ90nznZ47/jpXk1I/TbuFSmRMd2xNuXkVd1HdvV+7mTXfx7UReOzHANoLw/hSK A2dVqiX5IEFKi/KAmCfzCYfgBWNrmt2vRq3jwNOW2oIsCidJTS4d5BB7sFAYG09n4HxLzv pkebPetxs6ioG3lQAv4tmNuOM9zTArSjWc/tzhd+x6dWGoz1ic5VcqBE3ZuLXDL7XyIV8+ W4f1nH8hKr69nPmynaHdYeoNgVGWb1J3Ex9YuVgSQs40dGz6IxgvTHl8LFecADMUVLun+x 5V5OmSiRuLAbrm1lrdUso1Frb4GhfR6/DxOJ9ZjfDMFCrM6n4zs2H9FTaDAp1Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685041757; a=rsa-sha256; cv=none; b=ivQmAL5Au69ffexwYHMIiWqrUkMx3133NDJfy7Mj9HOPUOPvo6eobN/wdVRnbSBMrohpJK cUYjgckOoANgPArrPn71EhsYkxuO2yShDi3VcIdgcCnEv7mAzc7sBYW16kPmdlF46aE4uk xO4iudJLy0LU6oK7baHN8g04PwpTZ57jiSFjAEUrOlXp128zS5zfX34AnB59lSTlcTu7Z5 I5dct9OC0CV+LJZ4aiz29duytO4Lqr/1+7BPAScPAux+hBeYpIz4p+YcBg0JsQvEf6jm0Q lw9kZRY4Czl36lDMt0KSH4ML1NmVGQvE68R2EQ3GYPPTjuiucXBJYuaBs7amvA== 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 4QRyK94DmBzcbV; Thu, 25 May 2023 19:09:17 +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 34PJ9H8X026808; Thu, 25 May 2023 19:09:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34PJ9HWq026807; Thu, 25 May 2023 19:09:17 GMT (envelope-from git) Date: Thu, 25 May 2023 19:09:17 GMT Message-Id: <202305251909.34PJ9HWq026807@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: 5a7500dab9b8 - main - libarchive: Request the OpenSSL 1.1 API 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: 5a7500dab9b8480dacd5a9b70bad1541391342e4 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=5a7500dab9b8480dacd5a9b70bad1541391342e4 commit 5a7500dab9b8480dacd5a9b70bad1541391342e4 Author: Pierre Pronchery AuthorDate: 2023-05-25 07:26:58 +0000 Commit: Ed Maste CommitDate: 2023-05-25 19:08:05 +0000 libarchive: 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 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/libarchive/Makefile.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/libarchive/Makefile.inc b/lib/libarchive/Makefile.inc index 409e1972191d..a03f87d7b6c3 100644 --- a/lib/libarchive/Makefile.inc +++ b/lib/libarchive/Makefile.inc @@ -10,6 +10,7 @@ CFLAGS+= -DPLATFORM_CONFIG_H=\"${.CURDIR}/config_freebsd.h\" .if ${MK_OPENSSL} != "no" CFLAGS+= -DWITH_OPENSSL +CFLAGS+= -DOPENSSL_API_COMPAT=0x10100000L LIBADD+= crypto .else LIBADD+= md