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 /tools/checksum/checksum.cpp | |
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 'tools/checksum/checksum.cpp')
-rw-r--r-- | tools/checksum/checksum.cpp | 2 |
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 )
|