From nobody Thu May 25 20:53:07 2023 X-Original-To: dev-commits-src-all@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 4QS0cz5n1qz4Cddw; Thu, 25 May 2023 20:53:07 +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 4QS0cz5G1Wz4Qbk; Thu, 25 May 2023 20:53:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685047987; 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=m/eTG4ZsJqF1F3ezjPgiLX+tdU92/a0ma6+POoZRfGk=; b=AHJDf9Ujx+zuSxyf+RY8SWZiD4jTKxROYVpjPSeg4Qb/XUvKJylTi9NfnpyJn/p4R4c9db wnmrEb8nxbUVihkgIEuA3NnoDJa/lyZjISfdC6mxKwVb20FQwXjnCQCFWmOZYC1J0o8jIs CAj3sv796mp+F9WJ3VebIKN9YR7Dod8y+GA7aMR+VlCFnhpr/d1XZ8/JF4x/hU3T1xVU17 xVb7qnQQUtlbrd9eCeYv/ZlZi12yGIrr+vjikk1vSK5zkqh+TRjfqLCDLc1NwTlh6YIeka RGsir2MMyFNPTl9J2AFaxd4FSjt9nlLL48X2SyOlwnBmt9cZNoLBHvs8BYMrzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685047987; 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=m/eTG4ZsJqF1F3ezjPgiLX+tdU92/a0ma6+POoZRfGk=; b=YUBQNn5OAyfzK9iX41UwOM0ZqXFHCKIP66N5FDuIo5QSc/96g07YHZxenyVeA/+6NqkJZn VDILJdZZguCoeMtLVp/5rjlqEByIcE3VCDmiGnB0UtWnaAjmp+Ho8PaqWwSIA6ChxMflJa slqACo8cWxJasiVRReY+aXtdsS3KIhiD+RZA2jmPQG8muG1MWxbI2CMLIzVsN/vMntkT9Q o8mEkA0kdSkac4DJXAkq544bt03718e1pTKRJRY3VkXgRw5W4XLbx/ikUUcGS9wEsfvSZz ORUQDIqZ3EuXHpHs68KhXT2NGLJE1ASCaYiG+TDMoiByO1rK8HF4OjqTxV2UyA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685047987; a=rsa-sha256; cv=none; b=JFTSpZEywbVOB1zUeLQZXIbo/vaWcbTA6/LDwo8fjCjDTSfWpmXiS6UmUTC0mHkoDajhqi rXfc22HoB5fAu/MUrBgzF0mp7a/gvsuvRvrRL1KnXLFO4KJod2dYqQof3lmlAjC6KNrCiR +5t4BrsFrd85QRtleGpaD71JfUZ4MVBvAnz9mQ7Kwa8IhDTW5KKfqZ5s5JuQfDvx7jDWPv a2Q2wWvrPLMgbgUTiigmhLlvtEC/lwhhCwrGWzCj3e77CGA0i8ukypvtX8dzraw6seEM3y RzhJQpCXQnkc8BS8GwOs4nQkcdhpiO+rpBCrlFV9jilkMY7NY4hPaSeAed7/TQ== 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 4QS0cz4KGFzfcQ; Thu, 25 May 2023 20:53:07 +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 34PKr7Al007505; Thu, 25 May 2023 20:53:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34PKr7Jr007504; Thu, 25 May 2023 20:53:07 GMT (envelope-from git) Date: Thu, 25 May 2023 20:53:07 GMT Message-Id: <202305252053.34PKr7Jr007504@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: fed03614bd2d - main - factor: Request the OpenSSL 1.1 API List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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: fed03614bd2d070ffb351af8042fda9805341c29 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=fed03614bd2d070ffb351af8042fda9805341c29 commit fed03614bd2d070ffb351af8042fda9805341c29 Author: Pierre Pronchery AuthorDate: 2023-05-25 17:44:47 +0000 Commit: Ed Maste CommitDate: 2023-05-25 20:52:52 +0000 factor: 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 change should migrate to use the OpenSSL 3.0 APIs. PR: 271615 Reviewed by: emaste Event: Kitchener-Waterloo Hackathon 202305 Sponsored by: The FreeBSD Foundation --- usr.bin/factor/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/usr.bin/factor/Makefile b/usr.bin/factor/Makefile index dd7466302263..f180c0f135e7 100644 --- a/usr.bin/factor/Makefile +++ b/usr.bin/factor/Makefile @@ -9,6 +9,7 @@ CFLAGS+=-I${SRCTOP}/usr.bin/primes .if ${MK_OPENSSL} != "no" CFLAGS+=-DHAVE_OPENSSL +CFLAGS+=-DOPENSSL_API_COMPAT=0x10100000L LIBADD+=crypto .endif