diff options
author | Thomas Palmer <thomas.palmer@hpe.com> | 2018-04-19 04:33:12 +0800 |
---|---|---|
committer | Eric Dong <eric.dong@intel.com> | 2018-05-03 10:49:55 +0800 |
commit | b59ac35e7ac6bb6e46d73beae63dbfd5cb1d6d29 (patch) | |
tree | 3f919dec2d98432eef11b7f01d1ea857779a7ed4 /SecurityPkg | |
parent | efa5343a23e1d72a80deb463259756ac86ae1632 (diff) | |
download | edk2-b59ac35e7ac6bb6e46d73beae63dbfd5cb1d6d29.tar.gz edk2-b59ac35e7ac6bb6e46d73beae63dbfd5cb1d6d29.tar.bz2 edk2-b59ac35e7ac6bb6e46d73beae63dbfd5cb1d6d29.zip |
SecurityPkg/PwdCredentialProviderDxe: Update RouteConfig function
According to UEFI spec, the RouteConfig protocol function should populate
the Progress pointer with an address inside Configuration. This patch
ensures that these functions are compliant when EFI_NOT_FOUND is returned.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Thomas Palmer <thomas.palmer@hpe.com>
Reviewed-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
Diffstat (limited to 'SecurityPkg')
-rw-r--r-- | SecurityPkg/UserIdentification/PwdCredentialProviderDxe/PwdCredentialProvider.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/SecurityPkg/UserIdentification/PwdCredentialProviderDxe/PwdCredentialProvider.c b/SecurityPkg/UserIdentification/PwdCredentialProviderDxe/PwdCredentialProvider.c index b9e89cbfe7..ec1e3893fc 100644 --- a/SecurityPkg/UserIdentification/PwdCredentialProviderDxe/PwdCredentialProvider.c +++ b/SecurityPkg/UserIdentification/PwdCredentialProviderDxe/PwdCredentialProvider.c @@ -2,6 +2,7 @@ Password Credential Provider driver implementation.
Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>
+(C) Copyright 2018 Hewlett Packard Enterprise Development LP<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -646,6 +647,8 @@ FakeRouteConfig ( return EFI_INVALID_PARAMETER;
}
+ *Progress = Configuration;
+
return EFI_NOT_FOUND;
}
|