Bug 3330205 Reentrant MD5
Change-Id: I4c8e4a8f3ef4cdaac50f32d9e55accb16133ab35
This commit is contained in:
parent
015610e64e
commit
a37cf34ede
@ -237,7 +237,7 @@ MD5_Update (struct md5 *m, const void *v, size_t len)
|
||||
void
|
||||
MD5_Final (void *res, struct md5 *m)
|
||||
{
|
||||
static unsigned char zeros[72];
|
||||
unsigned char zeros[72];
|
||||
unsigned offset = (m->sz[0] / 8) % 64;
|
||||
unsigned int dstart = (120 - offset - 1) % 64 + 1;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user