opnsense-ports/net/dhcp6/files/patch-auth.c
Franco Fichtner f5a0e69080 net/dhcp6: sync with upstream
Taken from: FreeBSD
2016-01-03 12:05:50 +01:00

11 lines
254 B
C

--- auth.c.orig 2007-03-21 09:52:57 UTC
+++ auth.c
@@ -222,7 +222,7 @@ hmacmd5_invalidate(hmacmd5_t *ctx)
{
md5_invalidate(&ctx->md5ctx);
memset(ctx->key, 0, sizeof(ctx->key));
- memset(ctx, 0, sizeof(ctx));
+ memset(ctx, 0, sizeof(*ctx));
}
/*