summaryrefslogtreecommitdiff
path: root/tools/checksum
diff options
context:
space:
mode:
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 c8089e79c8..9778a2c66c 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 );
- memset(pDBG, 0, pDBG->SizeOfData);
+ pDBG->TimeDateStamp = 0;
#ifdef DEBUG_SECTIONS
if ( debug )