commit: | 92532488cf742c6501a3a7b258a18017465f5904 |
author: | Chip Black |
committer: | Chip Black |
date: | Sat Mar 22 17:12:04 2014 -0500 |
parents: | 54a4f223ba5000c4084d74c99e03988be9c71254 |
diff --git a/common/md5.c b/common/md5.c line changes: +1/-1 index f19672e..ffbc215 --- a/common/md5.c +++ b/common/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 */