summaryrefslogtreecommitdiff
path: root/tools/checksum/checksum.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-08-16 12:31:41 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-08-16 12:31:41 +0000
commit49fc1a8b9b5858974f90b9d2ed14ba5442c8cbfc (patch)
tree0f2e69541ce8636e696459326872299a4c201489 /tools/checksum/checksum.cpp
parent30ee89a6764a8d38a078374c6ed5de70635b42c0 (diff)
mir_md5_byte_t => BYTE;
macros mir_base64_encode_bufsize for calculating buffer size macros mir_base64_encodebuf for in-place base64 encoding git-svn-id: http://svn.miranda-ng.org/main/trunk@5716 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'tools/checksum/checksum.cpp')
-rw-r--r--tools/checksum/checksum.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/checksum/checksum.cpp b/tools/checksum/checksum.cpp
index 9778a2c66c..6318cc66a6 100644
--- a/tools/checksum/checksum.cpp
+++ b/tools/checksum/checksum.cpp
@@ -43,7 +43,7 @@ static void PatchResourcesDirectory(PIMAGE_RESOURCE_DIRECTORY pIRD, PBYTE pBase)
PatchResourceEntry(pIRDE, pBase);
}
-int PEChecksum( TCHAR *filename, mir_md5_byte_t digest[16] )
+int PEChecksum( TCHAR *filename, BYTE digest[16] )
{
HANDLE hFile = INVALID_HANDLE_VALUE;
HANDLE hMap;
@@ -364,7 +364,7 @@ int PEChecksum( TCHAR *filename, mir_md5_byte_t digest[16] )
if ( debug )
{
int i;
- mir_md5_byte_t digest2[16];
+ BYTE digest2[16];
mir_md5_state_t pms2;
mir_md5_init( &pms2 );
@@ -423,7 +423,7 @@ TCHAR* trtrim( TCHAR *str )
int process(TCHAR *filename)
{
int res;
- mir_md5_byte_t digest[16] = {0};
+ BYTE digest[16] = {0};
res = PEChecksum( filename, digest);