From b59ac35e7ac6bb6e46d73beae63dbfd5cb1d6d29 Mon Sep 17 00:00:00 2001 From: Thomas Palmer Date: Thu, 19 Apr 2018 04:33:12 +0800 Subject: [PATCH] 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 Reviewed-by: Dandan Bi Reviewed-by: Eric Dong --- .../PwdCredentialProviderDxe/PwdCredentialProvider.c | 3 +++ 1 file changed, 3 insertions(+) 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.
+(C) Copyright 2018 Hewlett Packard Enterprise Development LP
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; }