Fix typo in BaseCrypto2HashInit() which causes sanity check incorrect.

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
This commit is contained in:
Yao, Jiewen 2015-08-17 00:43:10 +00:00 committed by jyao1
parent 5dd08a463d
commit c533ed3ebb
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}