From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 7995282139 for ; Thu, 23 Feb 2017 20:09:34 -0800 (PST) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Feb 2017 20:09:34 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,200,1484035200"; d="scan'208";a="69017778" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga005.fm.intel.com with ESMTP; 23 Feb 2017 20:09:34 -0800 Received: from fmsmsx123.amr.corp.intel.com (10.18.125.38) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 23 Feb 2017 20:09:33 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx123.amr.corp.intel.com (10.18.125.38) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 23 Feb 2017 20:09:33 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.59]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.204]) with mapi id 14.03.0248.002; Fri, 24 Feb 2017 12:09:30 +0800 From: "Ni, Ruiyu" To: Laszlo Ersek , edk2-devel-01 , "Wu, Jiaxin" CC: Tomas Hoger Thread-Topic: [edk2] [PATCH 4/5] Nt32Pkg: exclude libssl functionality from OpensslLib if TLS_ENABLE=FALSE Thread-Index: AQHSjh/siSYpGnFA+EaLL1PLbUZYE6F3izhA Date: Fri, 24 Feb 2017 04:09:29 +0000 Message-ID: <734D49CCEBEEF84792F5B80ED585239D5B8AD55B@SHSMSX104.ccr.corp.intel.com> References: <20170223215744.7293-1-lersek@redhat.com> <20170223215744.7293-5-lersek@redhat.com> In-Reply-To: <20170223215744.7293-5-lersek@redhat.com> Accept-Language: en-US, zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNjc3Y2IzNDMtZjFmZS00ODFiLTgxOTktOGY5ZDc0OWM3ODE0IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IjRtSFRxR2ZSTnZseXNKcXY4UUlYbHJhZWVTTzNZXC85VEU3ZzhDYXNUVERVPSJ9 x-ctpclassification: CTP_IC x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH 4/5] Nt32Pkg: exclude libssl functionality from OpensslLib if TLS_ENABLE=FALSE X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Feb 2017 04:09:34 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Jiaxin, can you review this patch? Regards, Ray >-----Original Message----- >From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Las= zlo Ersek >Sent: Friday, February 24, 2017 5:58 AM >To: edk2-devel-01 >Cc: Ni, Ruiyu ; Tomas Hoger >Subject: [edk2] [PATCH 4/5] Nt32Pkg: exclude libssl functionality from Ope= nsslLib if TLS_ENABLE=3DFALSE > >Ease security analsysis by excluding libssl functionality from the >OpensslLib instance we use with TLS_ENABLE=3DFALSE. > >Cc: Ruiyu Ni >Cc: Tomas Hoger >Contributed-under: TianoCore Contribution Agreement 1.0 >Signed-off-by: Laszlo Ersek >--- > >Notes: > I can't build-test this. > > Nt32Pkg/Nt32Pkg.dsc | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/Nt32Pkg/Nt32Pkg.dsc b/Nt32Pkg/Nt32Pkg.dsc >index 47e37ecae134..c84bd71be408 100644 >--- a/Nt32Pkg/Nt32Pkg.dsc >+++ b/Nt32Pkg/Nt32Pkg.dsc >@@ -159,7 +159,11 @@ [LibraryClasses] > CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/= CpuExceptionHandlerLibNull.inf > LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf > IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf >+!if $(TLS_ENABLE) =3D=3D TRUE > OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf >+!else >+ OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibNoSsl.inf >+!endif > > !if $(SECURE_BOOT_ENABLE) =3D=3D TRUE > PlatformSecureLib|Nt32Pkg/Library/PlatformSecureLib/PlatformSecureLib.i= nf >-- >2.9.3 > > >_______________________________________________ >edk2-devel mailing list >edk2-devel@lists.01.org >https://lists.01.org/mailman/listinfo/edk2-devel