[edk2-devel] [PATCH V3 04/12] NetworkPkg: Enable MD5 while enable iSCSI

Gao, Zhichao zhichao.gao at intel.com
Tue Nov 10 17:36:43 UTC 2020


REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3003

There is a plan to make MD5 disable as default.
The new MACRO ENABLE_MD5_DEPRECATED_INTERFACES
would be introduced to enable MD5. Make the
definition ahead of the change to avoid build
error after the MACRO changed.

Cc: Maciej Rabeda <maciej.rabeda at linux.intel.com>
Cc: Jiaxin Wu <jiaxin.wu at intel.com>
Cc: Siyuan Fu <siyuan.fu at intel.com>
Signed-off-by: Zhichao Gao <zhichao.gao at intel.com>
---
 NetworkPkg/Network.dsc.inc | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/NetworkPkg/Network.dsc.inc b/NetworkPkg/Network.dsc.inc
index 16f090a187..b761df900b 100644
--- a/NetworkPkg/Network.dsc.inc
+++ b/NetworkPkg/Network.dsc.inc
@@ -30,6 +30,11 @@
 [LibraryClasses]
 !include NetworkPkg/NetworkLibs.dsc.inc
 
+[BuildOptions]
+!if $(NETWORK_ISCSI_ENABLE) == TRUE
+  *_*_*_CC_FLAGS = -D ENABLE_MD5_DEPRECATED_INTERFACES
+!endif
+
 !if $(PLATFORMX64_ENABLE) == TRUE
 [Components.X64]
 !include NetworkPkg/NetworkComponents.dsc.inc
-- 
2.21.0.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#67237): https://edk2.groups.io/g/devel/message/67237
Mute This Topic: https://groups.io/mt/78164661/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list