瀏覽代碼

* fixed calculation of md4/md5 for files > 512MB on 32 bit systems
(based on patch from Sergei Gorelkin, mantis #9903)

git-svn-id: trunk@9724 -

Jonas Maebe 17 年之前
父節點
當前提交
3d39cb8d1d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/hash/src/md5.pp

+ 1 - 1
packages/hash/src/md5.pp

@@ -55,7 +55,7 @@ type
     Version : TMDVersion;
     Align   : PtrUInt;
     State   : array[0..3] of Cardinal;
-    BufCnt  : PtrUInt;
+    BufCnt  : QWord;
     Buffer  : array[0..63] of Byte;
     case Integer of
       0: (Length   : PtrUInt);