From nobody Sun Feb 8 22:18:40 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+107487+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+107487+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1691037498; cv=none; d=zohomail.com; s=zohoarc; b=As5VemJMSASJ1Y0eJI+bTuY9DCjJhF8AlMBYf9+jp6Gs6pgMzVkyY6OxqkE/KkfJvjt4XjA7kmQqFGMs1rPW1QImFyrP802eo/tBR0w8xZlrKtnXQKT60sjfvTxVwP1na8ZKHIN2bVOHRFQC8tSlN5CPEE7ZB+XZCmBI34WIUts= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1691037498; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=lFsMPdCb8+OhnKkr/GuyISXA6/TBvtxA5UjpSbVuYXI=; b=ILFc+j2Gwc8Q8+ikrYY6agC5vjNfXQRyDRKgV+xmd1NM5BuIBqW8efaPuGPt/09cUDM0un1cmG1hx1b7IqAc2NO5yAsKbMJKZHgV5qslcZs3TYa0dap4R0UCFkgKGqfMzs+SgBAqtRVVlaHTgroHihousStZ3gSSx+rCgNyrJXI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+107487+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1691037498068542.5252326830418; Wed, 2 Aug 2023 21:38:18 -0700 (PDT) Return-Path: DKIM-Signature: a=rsa-sha256; bh=2aG6I7CzUzv1rARTP5hI2YNDwTfHCJ05mx0PGop2L5w=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1691037497; v=1; b=araUEdIfh1ltSq0jzFHGUDw/BWWwwXKkWARSqe/ByOy4QByr0CDCt02HvKJCQOt5yjjmo8MU a9M/p6g4akYmBT5h+wcvIbMpvzHSyw6O27L4nicqLoV0005qEDOTbZkbW0GRlsteLwXuVW3qNMC Tc+mi3ySpdHZ/e33S45QyuII= X-Received: by 127.0.0.2 with SMTP id gezzYY1788612xdVQ4FHhod7; Wed, 02 Aug 2023 21:38:17 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.43]) by mx.groups.io with SMTP id smtpd.web11.7486.1691037497004267910 for ; Wed, 02 Aug 2023 21:38:17 -0700 X-IronPort-AV: E=McAfee;i="6600,9927,10790"; a="456141095" X-IronPort-AV: E=Sophos;i="6.01,251,1684825200"; d="scan'208";a="456141095" X-Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Aug 2023 21:38:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10790"; a="794848011" X-IronPort-AV: E=Sophos;i="6.01,251,1684825200"; d="scan'208";a="794848011" X-Received: from liyi4-desktop.ccr.corp.intel.com ([10.239.153.10]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Aug 2023 21:38:15 -0700 From: "Li, Yi" To: devel@edk2.groups.io Cc: Gerd Hoffmann , Jiewen Yao , Xiaoyu Lu , Guomin Jiang Subject: [edk2-devel] [PATCH V2 06/29] CryptoPkg/BaseCryptLib: no openssl deprecation warnings please Date: Thu, 3 Aug 2023 12:37:24 +0800 Message-Id: <4bb0f12fd5f639b43146121d50c744564cf50392.1691031203.git.yi1.li@intel.com> In-Reply-To: References: MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,yi1.li@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: rgXsf5JMF5DTxSLqEPBfWA3wx1787277AA= Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1691037499464100015 Content-Type: text/plain; charset="utf-8" From: Gerd Hoffmann Stop using deprecated interfaces is left as exercise for another day. So please don't warn for now so -Werror builds can work. Signed-off-by: Gerd Hoffmann Cc: Jiewen Yao Cc: Xiaoyu Lu Cc: Guomin Jiang --- CryptoPkg/Library/BaseCryptLib/InternalCryptLib.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CryptoPkg/Library/BaseCryptLib/InternalCryptLib.h b/CryptoPkg/= Library/BaseCryptLib/InternalCryptLib.h index 3412acc676..477e3ae5f1 100644 --- a/CryptoPkg/Library/BaseCryptLib/InternalCryptLib.h +++ b/CryptoPkg/Library/BaseCryptLib/InternalCryptLib.h @@ -20,6 +20,8 @@ SPDX-License-Identifier: BSD-2-Clause-Patent =20 #include "CrtLibSupport.h" =20 +#define OPENSSL_NO_DEPRECATED 0 + #include =20 #if OPENSSL_VERSION_NUMBER < 0x10100000L --=20 2.31.1.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#107487): https://edk2.groups.io/g/devel/message/107487 Mute This Topic: https://groups.io/mt/100520581/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-