diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-12-21 14:29:10 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-12-21 14:29:10 +0000 |
commit | 440fc19c73ce9410bbf2f1a2b790d09d5aa07516 (patch) | |
tree | 3589639c9968beb9005c792b642b48bde021b4b4 /src | |
parent | 36ee90baf94a8fd9b6189f153676acf907562c4c (diff) | |
download | libmicrohttpd-440fc19c73ce9410bbf2f1a2b790d09d5aa07516.tar.gz libmicrohttpd-440fc19c73ce9410bbf2f1a2b790d09d5aa07516.zip |
fix
Diffstat (limited to 'src')
-rw-r--r-- | src/daemon/md5.c | 2 |
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 */ |