Bug 3330205 Reentrant MD5

Change-Id: I4c8e4a8f3ef4cdaac50f32d9e55accb16133ab35
This commit is contained in:
Glenn Kasten 2011-01-09 12:37:26 -08:00
parent 015610e64e
commit a37cf34ede

View File

@ -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;