]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/IScsiDxe/IScsiCHAP.c
NetworkPkg: introduce the NETWORK_ISCSI_MD5_ENABLE feature test macro
[mirror_edk2.git] / NetworkPkg / IScsiDxe / IScsiCHAP.c
index 80035ece98874de2e39eee5de016e97a4f29f7ce..0491ef42db95e57390f9045ca25adaf933c2499f 100644 (file)
@@ -23,6 +23,7 @@ STATIC CONST CHAP_HASH mChapHash[] = {
     Sha256Update,\r
     Sha256Final\r
   },\r
+#ifdef ENABLE_MD5_DEPRECATED_INTERFACES\r
   //\r
   // Keep the deprecated MD5 entry at the end of the array (making MD5 the\r
   // least preferred choice of the initiator).\r
@@ -35,6 +36,7 @@ STATIC CONST CHAP_HASH mChapHash[] = {
     Md5Update,\r
     Md5Final\r
   },\r
+#endif // ENABLE_MD5_DEPRECATED_INTERFACES\r
 };\r
 \r
 //\r