]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Network/IScsiDxe/IScsiCHAP.h
MdeModulePkg: Fix issue about current Ip4Dxe implementation for DHCP DORA process
[mirror_edk2.git] / MdeModulePkg / Universal / Network / IScsiDxe / IScsiCHAP.h
index 4b407f82ef2e8abf3e79dc7027bd07482289c9bd..f6a64e56dad97763773f253215085ca476cd7258 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   The header file of CHAP configuration.\r
 \r
-Copyright (c) 2004 - 2009, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2004 - 2011, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
@@ -15,13 +15,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #ifndef _ISCSI_CHAP_H_\r
 #define _ISCSI_CHAP_H_\r
 \r
-#define ISCSI_CHAP_AUTH_INFO_GUID \\r
-  { \\r
-    0x786ec0ac, 0x65ae, 0x4d1b, {0xb1, 0x37, 0xd, 0x11, 0xa, 0x48, 0x37, 0x97} \\r
-  }\r
-\r
-extern EFI_GUID mIScsiCHAPAuthInfoGuid;\r
-\r
 #define ISCSI_AUTH_METHOD_CHAP    "CHAP"\r
 \r
 #define ISCSI_KEY_CHAP_ALGORITHM  "CHAP_A"\r
@@ -48,9 +41,9 @@ extern EFI_GUID mIScsiCHAPAuthInfoGuid;
 \r
 typedef struct _ISCSI_CHAP_AUTH_CONFIG_NVDATA {\r
   UINT8 CHAPType;\r
-  CHAR8 CHAPName[ISCSI_CHAP_NAME_MAX_LEN];\r
+  CHAR8 CHAPName[ISCSI_CHAP_NAME_STORAGE];\r
   CHAR8 CHAPSecret[ISCSI_CHAP_SECRET_STORAGE];\r
-  CHAR8 ReverseCHAPName[ISCSI_CHAP_NAME_MAX_LEN];\r
+  CHAR8 ReverseCHAPName[ISCSI_CHAP_NAME_STORAGE];\r
   CHAR8 ReverseCHAPSecret[ISCSI_CHAP_SECRET_STORAGE];\r
 } ISCSI_CHAP_AUTH_CONFIG_NVDATA;\r
 \r