libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 440fc19c73ce9410bbf2f1a2b790d09d5aa07516
parent 36ee90baf94a8fd9b6189f153676acf907562c4c
Author: Christian Grothoff <christian@grothoff.org>
Date:   Tue, 21 Dec 2010 14:29:10 +0000

fix

Diffstat:
Msrc/daemon/md5.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/daemon/md5.c b/src/daemon/md5.c @@ -257,7 +257,7 @@ void MD5Final(unsigned char digest[16], MD5Transform(ctx->buf, (uint32_t *) ctx->in); byteReverse((unsigned char *) ctx->buf, 4); memcpy(digest, ctx->buf, 16); - memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ + memset(ctx, 0, sizeof(struct MD5Context)); /* In case it's sensitive */ } /* end of md5.c */