(MD4_Final): make the function threadsafe by removing static on the

local variable zeros


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12750 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2003-09-03 09:27:42 +00:00
parent c9681ae897
commit 70a309f60b

View File

@@ -212,7 +212,7 @@ MD4_Update (struct md4 *m, const void *v, size_t len)
void
MD4_Final (void *res, struct md4 *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;