Fix incorrect return status in Pkcs7Verify().
authortye1 <tye1@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 25 Jun 2012 05:15:40 +0000 (05:15 +0000)
committertye1 <tye1@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 25 Jun 2012 05:15:40 +0000 (05:15 +0000)
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

CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7.c

index ec6aa00..218e7ac 100644 (file)
@@ -670,6 +670,8 @@ Pkcs7Verify (
   if (!Status) {\r
     return Status;\r
   }\r
+\r
+  Status = FALSE;\r
   \r
   //\r
   // Retrieve PKCS#7 Data (DER encoding)\r