// This is the second execution of this module, clear the hash interface\r
// information registered at its first execution.\r
//\r
- ZeroMem (&HashInterfaceHob->HashInterface, sizeof (*HashInterfaceHob) - sizeof (EFI_GUID));\r
+ ZeroMem (&HashInterfaceHob->HashInterface, sizeof (HashInterfaceHob->HashInterface));\r
+ HashInterfaceHob->HashInterfaceCount = 0;\r
}\r
\r
//\r