summaryrefslogtreecommitdiffstats
path: root/SecurityPkg
diff options
context:
space:
mode:
authorThomas Palmer <thomas.palmer@hpe.com>2018-04-19 04:33:14 +0800
committerEric Dong <eric.dong@intel.com>2018-05-03 10:50:00 +0800
commit3ff82ee5fc52c8e8764b407ec45cafab8452e2b9 (patch)
tree95046d54ffa94a813f1a9daf321759a8f08e0d3f /SecurityPkg
parent546603d39d9a33a216d5a09a167a465b756b7704 (diff)
downloadedk2-3ff82ee5fc52c8e8764b407ec45cafab8452e2b9.tar.gz
edk2-3ff82ee5fc52c8e8764b407ec45cafab8452e2b9.tar.bz2
edk2-3ff82ee5fc52c8e8764b407ec45cafab8452e2b9.zip
SecurityPkg/UserProfileManagerDxe: 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/UserProfileManagerDxe/UserProfileManager.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManager.c b/SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManager.c
index 4bba0824c7..b84f2cdf9c 100644
--- a/SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManager.c
+++ b/SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManager.c
@@ -5,6 +5,7 @@
policy, etc.
Copyright (c) 2009 - 2011, 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
@@ -805,6 +806,8 @@ FakeRouteConfig (
return EFI_INVALID_PARAMETER;
}
+ *Progress = Configuration;
+
return EFI_NOT_FOUND;
}