summaryrefslogtreecommitdiffstats
path: root/SecurityPkg/Tcg
diff options
context:
space:
mode:
authorThomas Palmer <thomas.palmer@hpe.com>2018-04-19 04:33:11 +0800
committerEric Dong <eric.dong@intel.com>2018-05-03 10:49:49 +0800
commitefa5343a23e1d72a80deb463259756ac86ae1632 (patch)
tree0ebe13254d823c83c836e615d0fb89c09c2555f7 /SecurityPkg/Tcg
parent54b7f3cfc1b46a645fb2ff03bce3a00a7c8a784e (diff)
downloadedk2-efa5343a23e1d72a80deb463259756ac86ae1632.tar.gz
edk2-efa5343a23e1d72a80deb463259756ac86ae1632.tar.bz2
edk2-efa5343a23e1d72a80deb463259756ac86ae1632.zip
SecurityPkg/Tcg2Config: 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/Tcg')
-rw-r--r--SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigImpl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigImpl.c b/SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigImpl.c
index b3a849e918..4195b6c68f 100644
--- a/SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigImpl.c
+++ b/SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigImpl.c
@@ -3,6 +3,7 @@
NOTE: This module is only for reference only, each platform should have its own setup page.
Copyright (c) 2015 - 2017, 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
@@ -375,6 +376,8 @@ Tcg2RouteConfig (
return EFI_INVALID_PARAMETER;
}
+ *Progress = Configuration;
+
return EFI_NOT_FOUND;
}