diff options
Diffstat (limited to 'src/daemon/md5.c')
-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 */ |