summaryrefslogtreecommitdiff
path: root/CryptoPkg
diff options
context:
space:
mode:
authortye1 <tye1@6f19259b-4bc3-4df7-8a09-765794883524>2012-06-25 05:15:40 +0000
committertye1 <tye1@6f19259b-4bc3-4df7-8a09-765794883524>2012-06-25 05:15:40 +0000
commitc4de8e2eb994642c409a6b8d817451d079a544d4 (patch)
treecafc84938ef1a2aac6de9895385efe78e9f35a32 /CryptoPkg
parent08d6e2ff72edf2c4979e0002d29f51cb24d27e0c (diff)
downloadedk2-platforms-c4de8e2eb994642c409a6b8d817451d079a544d4.tar.xz
Fix incorrect return status in Pkcs7Verify().
Signed-off by: Ye Ting <ting.ye@intel.com> Reviewed-by: Fu, Siyuan <Siyuan.fu@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13469 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'CryptoPkg')
-rw-r--r--CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7.c2
1 files changed, 2 insertions, 0 deletions
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)