From 69f56d4ef26da3898498a0d6ef04d92a28c2ebb2 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Sun, 26 Feb 2006 22:28:22 +0000 Subject: [PATCH] remove redundant memset --- lib/isc/hmacmd5.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/isc/hmacmd5.c b/lib/isc/hmacmd5.c index bf611a01e6..2f21a36dd1 100644 --- a/lib/isc/hmacmd5.c +++ b/lib/isc/hmacmd5.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: hmacmd5.c,v 1.11 2006/01/27 23:57:46 marka Exp $ */ +/* $Id: hmacmd5.c,v 1.12 2006/02/26 22:28:22 marka Exp $ */ /*! \file * This code implements the HMAC-MD5 keyed hash algorithm @@ -65,7 +65,6 @@ void isc_hmacmd5_invalidate(isc_hmacmd5_t *ctx) { isc_md5_invalidate(&ctx->md5ctx); memset(ctx->key, 0, sizeof(ctx->key)); - memset(ctx, 0, sizeof(ctx)); } /*!