]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.c
SignedCapsulePkg/IniParsing: Rename StrToGuid to avoid link failure
[mirror_edk2.git] / SignedCapsulePkg / Library / IniParsingLib / IniParsingLib.c
index 270380e16e22b9ad3fa2e8c2714f6922cc8bb518..16e1349936c422febcc58a9807bf56afa2161ee9 100644 (file)
@@ -25,7 +25,7 @@
   OpenIniFile(), PreProcessDataFile(), ProfileGetSection(), ProfileGetEntry()\r
   will receive untrusted input and do basic validation.\r
 \r
   OpenIniFile(), PreProcessDataFile(), ProfileGetSection(), ProfileGetEntry()\r
   will receive untrusted input and do basic validation.\r
 \r
-  Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2016 - 2017, Intel Corporation. All rights reserved.<BR>\r
 \r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions\r
 \r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions\r
@@ -933,7 +933,7 @@ AsciiStrToBuf (
 \r
 **/\r
 EFI_STATUS\r
 \r
 **/\r
 EFI_STATUS\r
-AsciiStrToGuid (\r
+IniAsciiStrToGuid (\r
   IN  CHAR8    *Str,\r
   OUT EFI_GUID *Guid\r
   )\r
   IN  CHAR8    *Str,\r
   OUT EFI_GUID *Guid\r
   )\r
@@ -1261,7 +1261,7 @@ GetGuidFromDataFile (
   if (!IsValidGuid(Value, AsciiStrLen(Value))) {\r
     return EFI_NOT_FOUND;\r
   }\r
   if (!IsValidGuid(Value, AsciiStrLen(Value))) {\r
     return EFI_NOT_FOUND;\r
   }\r
-  Status = AsciiStrToGuid(Value, Guid);\r
+  Status = IniAsciiStrToGuid(Value, Guid);\r
   if (EFI_ERROR (Status)) {\r
     return EFI_NOT_FOUND;\r
   }\r
   if (EFI_ERROR (Status)) {\r
     return EFI_NOT_FOUND;\r
   }\r