From: tye1 Date: Mon, 25 Jun 2012 05:15:40 +0000 (+0000) Subject: Fix incorrect return status in Pkcs7Verify(). X-Git-Tag: edk2-stable201903~13309 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=c4de8e2eb994642c409a6b8d817451d079a544d4 Fix incorrect return status in Pkcs7Verify(). Signed-off by: Ye Ting Reviewed-by: Fu, Siyuan git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13469 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7.c b/CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7.c index ec6aa005ac..218e7ac2ef 100644 --- a/CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7.c +++ b/CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7.c @@ -670,6 +670,8 @@ Pkcs7Verify ( if (!Status) { return Status; } + + Status = FALSE; // // Retrieve PKCS#7 Data (DER encoding)