diff options
author | George Hazan <george.hazan@gmail.com> | 2012-08-05 18:41:10 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-08-05 18:41:10 +0000 |
commit | 68389d70dea618abdd875f2f06ba0d850f3d8fb4 (patch) | |
tree | 910001b0b9ad98d2a1f0b6db1e6163c81717e18b /plugins/PluginUpdater | |
parent | 16e95b620d38b1ee3f78de555f35bb12c617f85f (diff) |
and a debug record too
git-svn-id: http://svn.miranda-ng.org/main/trunk@1367 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater')
-rw-r--r-- | plugins/PluginUpdater/src/checksum.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/PluginUpdater/src/checksum.cpp b/plugins/PluginUpdater/src/checksum.cpp index 657b8f6c93..e76f42639d 100644 --- a/plugins/PluginUpdater/src/checksum.cpp +++ b/plugins/PluginUpdater/src/checksum.cpp @@ -169,7 +169,7 @@ int CalculateModuleHash(const TCHAR *filename, char* szDest) {
DWORD shift = dbgAddr - pISH->VirtualAddress;
pDBG = (PIMAGE_DEBUG_DIRECTORY)( ptr + shift + pISH->PointerToRawData );
- pDBG->TimeDateStamp = 0;
+ memset(pDBG, 0, pDBG->SizeOfData);
}
// erase export timestamp
|