summaryrefslogtreecommitdiffstats
path: root/libc
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2011-01-10 16:27:56 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-01-10 16:27:56 -0800
commit43164fcbdf9fb47768df07ee73da56413200f971 (patch)
tree7596be4675c3c7e9bdf032e5f74d2dbe89b348a4 /libc
parent604085c380c50f88073872890e8177a5bf3e0ae3 (diff)
parenta37cf34eded8a84227e9cbb53befaf4b58cf60c0 (diff)
downloadbionic-43164fcbdf9fb47768df07ee73da56413200f971.zip
bionic-43164fcbdf9fb47768df07ee73da56413200f971.tar.gz
bionic-43164fcbdf9fb47768df07ee73da56413200f971.tar.bz2
Merge "Bug 3330205 Reentrant MD5"
Diffstat (limited to 'libc')
-rw-r--r--libc/bionic/md5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/bionic/md5.c b/libc/bionic/md5.c
index 087786f..1117c3b 100644
--- a/libc/bionic/md5.c
+++ b/libc/bionic/md5.c
@@ -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;