]> git.proxmox.com Git - mirror_edk2.git/commitdiff
NetworkPkg/Defines: Make iSCSI disable as default
authorGao, Zhichao <zhichao.gao@intel.com>
Thu, 12 Nov 2020 05:55:57 +0000 (13:55 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 17 Nov 2020 19:26:50 +0000 (19:26 +0000)
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3003

iSCSI is using the deprecated function MD5. It is
better to make the default setting secure. If the platforms
want to use the iSCSI, they should enable it in the platforms'
dsc file and be aware they are using an function with weak
cryptography.

Enable iSCSI in NetworkPkg.dsc for build.

Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
Cc: Sami Mujawar <sami.mujawar@arm.com>
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Xiaoyu Lu <xiaoyux.lu@intel.com>
Cc: Guomin Jiang <guomin.jiang@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Kelly Steele <kelly.steele@intel.com>
Cc: Zailiang Sun <zailiang.sun@intel.com>
Cc: Yi Qian <yi.qian@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Maciej Rabeda <maciej.rabeda@linux.intel.com>
Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Cc: Siyuan Fu <siyuan.fu@intel.com>
Signed-off-by: Zhichao Gao <zhichao.gao@intel.com>
Message-Id: <20201112055558.2348-13-zhichao.gao@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Siyuan Fu <siyuan.fu@intel.com>
Reviewed-by: Maciej Rabeda <maciej.rabeda@linux.intel.com>
NetworkPkg/NetworkDefines.dsc.inc
NetworkPkg/NetworkPkg.dsc

index a442d1b157b2846054fd1f4af3320e5015832cd2..18921d81f63b368951747234001db9f1e37e7943 100644 (file)
@@ -17,7 +17,7 @@
 #   DEFINE NETWORK_TLS_ENABLE             = TRUE\r
 #   DEFINE NETWORK_HTTP_BOOT_ENABLE       = TRUE\r
 #   DEFINE NETWORK_ALLOW_HTTP_CONNECTIONS = FALSE\r
-#   DEFINE NETWORK_ISCSI_ENABLE           = TRUE\r
+#   DEFINE NETWORK_ISCSI_ENABLE           = FALSE\r
 #   DEFINE NETWORK_VLAN_ENABLE            = TRUE\r
 #\r
 # Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>\r
   #       Both OpensslLib.inf and OpensslLibCrypto.inf library instance can be used\r
   #       since libssl is not required for iSCSI.\r
   #\r
-  DEFINE NETWORK_ISCSI_ENABLE = TRUE\r
+  DEFINE NETWORK_ISCSI_ENABLE = FALSE\r
 !endif\r
 \r
 !if $(NETWORK_ENABLE) == TRUE\r
index 716d04fdadb281d7b7949be6603227090e3d0b40..b1250c3b353681d487abd5c99f89ebcc491a688d 100644 (file)
@@ -2,7 +2,7 @@
 # UEFI 2.4 Network Module Package for All Architectures\r
 #\r
 # (C) Copyright 2014 Hewlett-Packard Development Company, L.P.<BR>\r
-# Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2009 - 2020, Intel Corporation. All rights reserved.<BR>\r
 # Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>\r
 #    SPDX-License-Identifier: BSD-2-Clause-Patent\r
 #\r
@@ -18,6 +18,8 @@
   BUILD_TARGETS                  = DEBUG|RELEASE|NOOPT\r
   SKUID_IDENTIFIER               = DEFAULT\r
 \r
+  DEFINE NETWORK_ISCSI_ENABLE    = TRUE\r
+\r
 [LibraryClasses]\r
   DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r