From 599e70cf9ed153680e436babe7c0a4b02e175719 Mon Sep 17 00:00:00 2001 From: ydong10 Date: Thu, 15 Dec 2011 02:59:03 +0000 Subject: Update for SecurityPkg. Per UEFI spec, on CallBack action EFI_BROWSER_ACTION_CHANGING, the return value of ActionRequest will be ignored, but on CallBack action EFI_BROWSER_ACTION_CHANGED, the return value of ActionRequest will be used. But, EDKII browser still processes the got ActionRequest. And, all HII drivers in EDKII project also returns their expected ActionRequest value on action EFI_BROWSER_ACTION_CHANGING. Now update the browser to follow the spec, and update all core Hii drivers to keep old working modal. Signed-off-by: ydong10 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk@12868 6f19259b-4bc3-4df7-8a09-765794883524 --- .../UserIdentification/PwdCredentialProviderDxe/PwdCredentialProvider.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'edk2/SecurityPkg/UserIdentification/PwdCredentialProviderDxe') diff --git a/edk2/SecurityPkg/UserIdentification/PwdCredentialProviderDxe/PwdCredentialProvider.c b/edk2/SecurityPkg/UserIdentification/PwdCredentialProviderDxe/PwdCredentialProvider.c index afb090a91..cf7fe4079 100644 --- a/edk2/SecurityPkg/UserIdentification/PwdCredentialProviderDxe/PwdCredentialProvider.c +++ b/edk2/SecurityPkg/UserIdentification/PwdCredentialProviderDxe/PwdCredentialProvider.c @@ -548,7 +548,7 @@ CredentialDriverCallback ( CHAR8 Password[CREDENTIAL_LEN]; CHAR16 *PromptStr; - if (Action == EFI_BROWSER_ACTION_CHANGING) { + if (Action == EFI_BROWSER_ACTION_CHANGED) { if (QuestionId == KEY_GET_PASSWORD) { // // Get and check password. -- cgit v1.2.3