From nobody Thu May 25 17:16:59 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 4QRvqb63Kyz4WSV1; Thu, 25 May 2023 17:16:59 +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 4QRvqb55Qwz3mxw; Thu, 25 May 2023 17:16:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685035019; 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=PoZLifEzVlBU6soehnU8zu2DGQ/zLaQaYVBE/dQTVsE=; b=D6By8/JEDZnZRD2AoP31QjvGht+nUB9m1YToUw2upQ7pmyfOOTFM58M8F6y0bDfMlG6dHr fNk2PVrWlHkKXSGaZzbZ9NiBY/GaT42eHU9z+wIDyquxh54lCjWuynM/o4JJKyWs/aO03p ImgUHZxSKZ9KDRM/Q6igHuaEcx91k/oe8eltgNRKucHLBB+QQWEsnVYh/6SVEXlszXNc1s ZYwAit/6uj2WE3NurbRDROAtvxS2RBTSqIoBpHrSHqAWliULTr77SN3TqPVf4nFGS5s6Xz KI9fzvWy7AztQIRP+pru4nITjMSqLH4mjZMkqy6aoo7p1MsV1zQ8VHjLCxgoug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685035019; 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=PoZLifEzVlBU6soehnU8zu2DGQ/zLaQaYVBE/dQTVsE=; b=qqs7vP5ZQfZZdo4bwMs1Ux4SEvwo6+ysoLxoGqiKL/4AXyY4XtLypMQIoeegvs1EMWxElp atcqf3M7K2peujF1wYwgfj+RhpoRR/2avV1NHaPTfvehh2MICeoLmu9fetS2zYAukVL/6Q eidG8957jGEmcRjcCIIjdBwRfkKxCPhRwiM2+ugHgAtOv5to8E1OR5N8YnreyOmxvaQDKI 02S6p9MFAfRgCtrTKcHN5fI7Cr80jZ9280fBDUqSJucJxu3n/xh+V/Vyqt4GvdJNdgV6Os lVGo5CTXwf6UAoujgdUc6qeK12+j8thjB1bXXNfaYkO+h7bN6PhpkUjUlrwaUA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685035019; a=rsa-sha256; cv=none; b=LCC9HHBpyqOwRsGwwlsS+9MSSSsJ0iy9JnKNw7EcGULwF/lLDrZ7D8wbpED58TWbgnAaeA OHh4krKA5m91AETsLQ6kWgkVfZXEmg97WXny8dPonY13q5d5DjHZyabQrsYpdG+SrI2dov 17Whg23c9ZIm9DuBrsr7sbno0Sq33vVuSAaHXkOIECp86OTxbynF/psxeKDS4hnxYPQ5fR Kn/4o/CSdie2PD3cbG265Agupj18eqMzXp1cdagQpQ5YUx5iKYo0y2+J4Ci7x4F1GgA5DN Jl6X8VflSBbr6V2uYBmLoUYD8pJpkycD0EQ/fyGoDhDnqaJqvYaYivKcxgrG6w== 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 4QRvqb4401zYXV; Thu, 25 May 2023 17:16:59 +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 34PHGxEl044652; Thu, 25 May 2023 17:16:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34PHGxJm044651; Thu, 25 May 2023 17:16:59 GMT (envelope-from git) Date: Thu, 25 May 2023 17:16:59 GMT Message-Id: <202305251716.34PHGxJm044651@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: 07523f1d4fae - main - libradius: specify OpenSSL 1.1 APIs 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: 07523f1d4fae44967b274175d48480fafb6d9f34 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=07523f1d4fae44967b274175d48480fafb6d9f34 commit 07523f1d4fae44967b274175d48480fafb6d9f34 Author: Pierre Pronchery AuthorDate: 2023-05-25 05:42:38 +0000 Commit: Ed Maste CommitDate: 2023-05-25 17:15:45 +0000 libradius: 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/libradius/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/libradius/Makefile b/lib/libradius/Makefile index 42f5def20ef1..d10e67c7224b 100644 --- a/lib/libradius/Makefile +++ b/lib/libradius/Makefile @@ -30,6 +30,7 @@ LIB= radius SRCS= radlib.c INCS= radlib.h radlib_vs.h CFLAGS+= -Wall +CFLAGS+= -DOPENSSL_API_COMPAT=0x10100000L SHLIB_MAJOR= 4 MAN= libradius.3 radius.conf.5