Merge "Bug 3330205 Reentrant MD5"

This commit is contained in:
Glenn Kasten 2011-01-10 16:27:56 -08:00 committed by Android (Google) Code Review
commit 43164fcbdf

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;