diff --git a/3rdparty/iaxclient/lib/libiax2/src/md5.c b/3rdparty/iaxclient/lib/libiax2/src/md5.c index 401216ee2..b154f6c15 100644 --- a/3rdparty/iaxclient/lib/libiax2/src/md5.c +++ b/3rdparty/iaxclient/lib/libiax2/src/md5.c @@ -177,7 +177,7 @@ void MD5Final(uint8_t digest[16], struct MD5Context *ctx) MD5Transform(ctx->buf, (uint32_t *) ctx->in); byteReverse((uint8_t *) ctx->buf, 4); memcpy(digest, ctx->buf, 16); - memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ + memset(ctx, 0, sizeof(*ctx)); /* In case it's sensitive */ } #ifndef ASM_MD5