From 33985e3b52ee2e4b5064331134d983e55a7da904 Mon Sep 17 00:00:00 2001 From: Chao Zhang Date: Mon, 10 Nov 2014 05:01:15 +0000 Subject: =?UTF-8?q?=20=20=20Fix=20execution=20status=20&=20DEBUG=20message?= =?UTF-8?q?=20level=20mismatch.=20EFI=5FD=5FERROR=20is=20used=20only=20whe?= =?UTF-8?q?n=20failure/case=20can=E2=80=99t=20be=20resolved=20by=20code.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Chao Zhang Reviewed-by: Dong Guo git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16320 6f19259b-4bc3-4df7-8a09-765794883524 --- .../VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'SecurityPkg/VariableAuthenticated/SecureBootConfigDxe') diff --git a/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c b/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c index 8b9a8e26a3..c6356143bc 100644 --- a/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c +++ b/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c @@ -1920,7 +1920,7 @@ DeleteKeyExchangeKey ( ZeroMem (OldData, KekDataSize); while ((KekDataSize > 0) && (KekDataSize >= CertList->SignatureListSize)) { CertCount = (CertList->SignatureListSize - sizeof (EFI_SIGNATURE_LIST) - CertList->SignatureHeaderSize) / CertList->SignatureSize; - DEBUG ((DEBUG_ERROR, " CertCount = %x\n", CertCount)); + DEBUG ((DEBUG_INFO, " CertCount = %x\n", CertCount)); if (CertCount != 0) { CopyMem (OldData + Offset, CertList, CertList->SignatureListSize); Offset += CertList->SignatureListSize; @@ -2118,7 +2118,7 @@ DeleteSignature ( ZeroMem (OldData, ItemDataSize); while ((ItemDataSize > 0) && (ItemDataSize >= CertList->SignatureListSize)) { CertCount = (CertList->SignatureListSize - sizeof (EFI_SIGNATURE_LIST) - CertList->SignatureHeaderSize) / CertList->SignatureSize; - DEBUG ((DEBUG_ERROR, " CertCount = %x\n", CertCount)); + DEBUG ((DEBUG_INFO, " CertCount = %x\n", CertCount)); if (CertCount != 0) { CopyMem (OldData + Offset, (UINT8*)(CertList), CertList->SignatureListSize); Offset += CertList->SignatureListSize; -- cgit v1.2.3