aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-12-21 14:29:10 +0000
committerChristian Grothoff <christian@grothoff.org>2010-12-21 14:29:10 +0000
commit440fc19c73ce9410bbf2f1a2b790d09d5aa07516 (patch)
tree3589639c9968beb9005c792b642b48bde021b4b4 /src
parent36ee90baf94a8fd9b6189f153676acf907562c4c (diff)
downloadlibmicrohttpd-440fc19c73ce9410bbf2f1a2b790d09d5aa07516.tar.gz
libmicrohttpd-440fc19c73ce9410bbf2f1a2b790d09d5aa07516.zip
fix
Diffstat (limited to 'src')
-rw-r--r--src/daemon/md5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/md5.c b/src/daemon/md5.c
index f19672ec..ffbc215a 100644
--- a/src/daemon/md5.c
+++ b/src/daemon/md5.c
@@ -257,7 +257,7 @@ void MD5Final(unsigned char digest[16],
257 MD5Transform(ctx->buf, (uint32_t *) ctx->in); 257 MD5Transform(ctx->buf, (uint32_t *) ctx->in);
258 byteReverse((unsigned char *) ctx->buf, 4); 258 byteReverse((unsigned char *) ctx->buf, 4);
259 memcpy(digest, ctx->buf, 16); 259 memcpy(digest, ctx->buf, 16);
260 memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ 260 memset(ctx, 0, sizeof(struct MD5Context)); /* In case it's sensitive */
261} 261}
262 262
263/* end of md5.c */ 263/* end of md5.c */