From c533ed3ebbe6e20fb1e27580d61e32e174643455 Mon Sep 17 00:00:00 2001 From: "Yao, Jiewen" Date: Mon, 17 Aug 2015 00:43:10 +0000 Subject: Fix typo in BaseCrypto2HashInit() which causes sanity check incorrect. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: "Yao, Jiewen" Reviewed-by: "Zhang, Chao B" git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18224 6f19259b-4bc3-4df7-8a09-765794883524 --- SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'SecurityPkg/Hash2DxeCrypto') diff --git a/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c b/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c index 6a7ecf2a2d..dab0299236 100644 --- a/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c +++ b/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c @@ -454,7 +454,7 @@ BaseCrypto2HashInit ( // Consistency Check // Instance = HASH2_INSTANCE_DATA_FROM_THIS(This); - if ((Instance->HashContext != NULL) || (Instance->HashInfoContext != HashInfo)) { + if ((Instance->HashContext != NULL) || (Instance->HashInfoContext != NULL)) { return EFI_ALREADY_STARTED; } -- cgit v1.2.3