diff --git a/libraries/liblutil/md5.c b/libraries/liblutil/md5.c index 0ad85cc898..12bb58b68c 100644 --- a/libraries/liblutil/md5.c +++ b/libraries/liblutil/md5.c @@ -185,7 +185,7 @@ lutil_MD5Final( unsigned char *digest, struct lutil_MD5Context *ctx ) putu32(ctx->buf[1], digest + 4); putu32(ctx->buf[2], digest + 8); putu32(ctx->buf[3], digest + 12); - memset(ctx, '\0', sizeof(ctx)); /* In case it's sensitive */ + memset(ctx, '\0', sizeof(*ctx)); /* In case it's sensitive */ } #ifndef ASM_MD5