// 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