]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Fix typo in BaseCrypto2HashInit() which causes sanity check incorrect.
authorYao, Jiewen <Jiewen.Yao@intel.com>
Mon, 17 Aug 2015 00:43:10 +0000 (00:43 +0000)
committerjyao1 <jyao1@Edk2>
Mon, 17 Aug 2015 00:43:10 +0000 (00:43 +0000)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <Jiewen.Yao@intel.com>
Reviewed-by: "Zhang, Chao B" <chao.b.zhang@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18224 6f19259b-4bc3-4df7-8a09-765794883524

SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c

index 6a7ecf2a2d15828f737652e90f23fcec0e1ca949..dab02992362ed0c66caebfc769af69f89694317e 100644 (file)
@@ -454,7 +454,7 @@ BaseCrypto2HashInit (
   // Consistency Check\r
   //\r
   Instance = HASH2_INSTANCE_DATA_FROM_THIS(This);\r
-  if ((Instance->HashContext != NULL) || (Instance->HashInfoContext != HashInfo)) {\r
+  if ((Instance->HashContext != NULL) || (Instance->HashInfoContext != NULL)) {\r
     return EFI_ALREADY_STARTED;\r
   }\r
 \r