summaryrefslogtreecommitdiff
path: root/tools/checksum
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-08-05 18:41:10 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-08-05 18:41:10 +0000
commit68389d70dea618abdd875f2f06ba0d850f3d8fb4 (patch)
tree910001b0b9ad98d2a1f0b6db1e6163c81717e18b /tools/checksum
parent16e95b620d38b1ee3f78de555f35bb12c617f85f (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 'tools/checksum')
-rw-r--r--tools/checksum/checksum.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/checksum/checksum.cpp b/tools/checksum/checksum.cpp
index 9778a2c66c..c8089e79c8 100644
--- a/tools/checksum/checksum.cpp
+++ b/tools/checksum/checksum.cpp
@@ -195,7 +195,7 @@ int PEChecksum( TCHAR *filename, mir_md5_byte_t digest[16] )
{
DWORD shift = dbgAddr - pISH->VirtualAddress;
pDBG = (PIMAGE_DEBUG_DIRECTORY)( ptr + shift + pISH->PointerToRawData );
- pDBG->TimeDateStamp = 0;
+ memset(pDBG, 0, pDBG->SizeOfData);
#ifdef DEBUG_SECTIONS
if ( debug )