X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fmd5.c;h=9d0b4421e7e90fb83092942a268de4d6474285a5;hb=4c274aa94a53d8850ed363e64c5863970fe629a4;hp=6e50570cc2fa659644c85b362bd5c515bd3f69d4;hpb=b4a9bcece3412f41b82bda83f98e1b23dee27a82;p=citadel.git diff --git a/citadel/md5.c b/citadel/md5.c index 6e50570cc..9d0b4421e 100644 --- a/citadel/md5.c +++ b/citadel/md5.c @@ -150,7 +150,7 @@ void MD5Final(unsigned char digest[16], struct MD5Context *ctx) MD5Transform(ctx->buf, (cit_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 */ } #ifndef ASM_MD5