{$i uint32.inc}\r
\r
type\r
- dvar=array[0..0] of byte;\r
+ dvar=array[0..65535] of byte;\r
Tmd5state=record\r
buf:array[0..63] of byte;\r
H:array[0..3] of uint32;\r
b := state.msglen and 63;\r
\r
inc(state.msglen,len);\r
- while (state.msglen > $20000000) do begin\r
+ while (state.msglen >= $20000000) do begin\r
dec(state.msglen,$20000000);\r
inc(state.msglenhi);\r
end;\r