From 9c8711e502f30d7e1925d1f6568a13d80568741f Mon Sep 17 00:00:00 2001 From: pk910 Date: Thu, 10 May 2012 22:56:18 +0200 Subject: [PATCH] keep in sync with OGN upstream (SVN-318) --- ircd/ircd_md5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ircd/ircd_md5.c b/ircd/ircd_md5.c index 3d770ba..d328bb9 100644 --- a/ircd/ircd_md5.c +++ b/ircd/ircd_md5.c @@ -154,7 +154,7 @@ void MD5Final(unsigned char digest[16], struct MD5Context *ctx) MD5Transform(ctx->buf, (uint32 *) 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(*ctx)); /* In case it's sensitive */ } #ifndef ASM_MD5 -- 2.20.1