diff options
author | Dong, Guo <guo.dong@intel.com> | 2014-08-15 08:10:55 +0000 |
---|---|---|
committer | gdong1 <gdong1@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-08-15 08:10:55 +0000 |
commit | 4ccef56102cc104ad0bc881f5312f84fb4e569ef (patch) | |
tree | 4905f550624566ce1b4b56a3fe9c41058e332d3d /SecurityPkg/UserIdentification | |
parent | a4faf336ea8e87d0b46e54ea64ce19c8574b69e5 (diff) | |
download | edk2-platforms-4ccef56102cc104ad0bc881f5312f84fb4e569ef.tar.xz |
1) Update code to use PcdFixedUsbCredentialProviderTokenFileName and PcdMaxVariableSize as patchable PCD instead of FixedAtBuild PCD.
2) Correct a typo in file comments of Tpm12Ownership.c
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dong, Guo <guo.dong@intel.com>
Reviewed-by: Gao, Liming <liming.gao@intel.com>
Reviewed-by: Yao, Jiewen <jiewen.yao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15811 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'SecurityPkg/UserIdentification')
-rw-r--r-- | SecurityPkg/UserIdentification/UsbCredentialProviderDxe/UsbCredentialProvider.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SecurityPkg/UserIdentification/UsbCredentialProviderDxe/UsbCredentialProvider.c b/SecurityPkg/UserIdentification/UsbCredentialProviderDxe/UsbCredentialProvider.c index 046a50052d..f623f48304 100644 --- a/SecurityPkg/UserIdentification/UsbCredentialProviderDxe/UsbCredentialProvider.c +++ b/SecurityPkg/UserIdentification/UsbCredentialProviderDxe/UsbCredentialProvider.c @@ -478,7 +478,7 @@ GetToken ( BufSize = 0;
Buffer = NULL;
- TokenFile = FixedPcdGetPtr (PcdFixedUsbCredentialProviderTokenFileName);
+ TokenFile = PcdGetPtr (PcdFixedUsbCredentialProviderTokenFileName);
Status = GetFileData (TokenFile, (VOID *)&Buffer, &BufSize);
if (EFI_ERROR (Status)) {
DEBUG ((DEBUG_ERROR, "Read file %s from USB error! Status=(%r)\n", TokenFile, Status));
|