From 02ec692fadc71d38f05ae0cf0db585d753fc4dbf Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Wed, 17 Oct 2007 20:36:28 +0000 Subject: wrong type for digest; ok claudio --- usr.sbin/ripd/auth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/ripd/auth.c b/usr.sbin/ripd/auth.c index 871880f8648..c379cde366f 100644 --- a/usr.sbin/ripd/auth.c +++ b/usr.sbin/ripd/auth.c @@ -1,4 +1,4 @@ -/* $OpenBSD: auth.c,v 1.5 2007/03/31 09:49:20 michele Exp $ */ +/* $OpenBSD: auth.c,v 1.6 2007/10/17 20:36:27 deraadt Exp $ */ /* * Copyright (c) 2006 Michele Marchetto @@ -39,7 +39,7 @@ auth_calc_modulator(struct auth_md *md) { u_int32_t r; MD5_CTX md5ctx; - char digest[MD5_DIGEST_LENGTH]; + u_int8_t digest[MD5_DIGEST_LENGTH]; MD5Init(&md5ctx); MD5Update(&md5ctx, (void *)&md->keyid, sizeof(md->keyid)); -- cgit v1.2.3