mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-29 08:34:07 +02:00
SignedCapsulePkg/IniParsing: Rename StrToGuid to avoid link failure
Since the next patch will add AsciiStrToGuid in BaseLib, renaming the internal function AsciiStrToGuid to IniAsciiStrToGuid to avoid link failure. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
This commit is contained in:
parent
83451aea74
commit
bf717f10f6
@ -25,7 +25,7 @@
|
|||||||
OpenIniFile(), PreProcessDataFile(), ProfileGetSection(), ProfileGetEntry()
|
OpenIniFile(), PreProcessDataFile(), ProfileGetSection(), ProfileGetEntry()
|
||||||
will receive untrusted input and do basic validation.
|
will receive untrusted input and do basic validation.
|
||||||
|
|
||||||
Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2016 - 2017, Intel Corporation. All rights reserved.<BR>
|
||||||
|
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions
|
are licensed and made available under the terms and conditions
|
||||||
@ -933,7 +933,7 @@ AsciiStrToBuf (
|
|||||||
|
|
||||||
**/
|
**/
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
AsciiStrToGuid (
|
IniAsciiStrToGuid (
|
||||||
IN CHAR8 *Str,
|
IN CHAR8 *Str,
|
||||||
OUT EFI_GUID *Guid
|
OUT EFI_GUID *Guid
|
||||||
)
|
)
|
||||||
@ -1261,7 +1261,7 @@ GetGuidFromDataFile (
|
|||||||
if (!IsValidGuid(Value, AsciiStrLen(Value))) {
|
if (!IsValidGuid(Value, AsciiStrLen(Value))) {
|
||||||
return EFI_NOT_FOUND;
|
return EFI_NOT_FOUND;
|
||||||
}
|
}
|
||||||
Status = AsciiStrToGuid(Value, Guid);
|
Status = IniAsciiStrToGuid(Value, Guid);
|
||||||
if (EFI_ERROR (Status)) {
|
if (EFI_ERROR (Status)) {
|
||||||
return EFI_NOT_FOUND;
|
return EFI_NOT_FOUND;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user