[edk2-devel] [PATCH 3/5] SecurityPkg/dsc: Explicitly enable MD5 for package build

Gao, Zhichao posted 5 patches 5 years, 3 months ago
[edk2-devel] [PATCH 3/5] SecurityPkg/dsc: Explicitly enable MD5 for package build
Posted by Gao, Zhichao 5 years, 3 months ago
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3021

Hash2DxeCrypto.inf supports MD5. MD5 would be disable as
default setting for edk2. Explicitly enable MD5 thru
ENABLE_MD5_DEPRECATED_INTERFACES for package build.

Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Signed-off-by: Zhichao Gao <zhichao.gao@intel.com>
---
 SecurityPkg/SecurityPkg.dsc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/SecurityPkg/SecurityPkg.dsc b/SecurityPkg/SecurityPkg.dsc
index 36d15b79f9..7af0a8c7eb 100644
--- a/SecurityPkg/SecurityPkg.dsc
+++ b/SecurityPkg/SecurityPkg.dsc
@@ -342,5 +342,5 @@
 [BuildOptions]
    MSFT:*_*_IA32_DLINK_FLAGS = /ALIGN:256
   INTEL:*_*_IA32_DLINK_FLAGS = /ALIGN:256
-        *_*_*_CC_FLAGS       = -D DISABLE_NEW_DEPRECATED_INTERFACES
+        *_*_*_CC_FLAGS       = -D DISABLE_NEW_DEPRECATED_INTERFACES -D ENABLE_MD5_DEPRECATED_INTERFACES
 
-- 
2.21.0.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#66598): https://edk2.groups.io/g/devel/message/66598
Mute This Topic: https://groups.io/mt/77811117/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-