summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-10-17 20:36:28 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-10-17 20:36:28 +0000
commit02ec692fadc71d38f05ae0cf0db585d753fc4dbf (patch)
tree27d031e45c6b3bbcc5dfd8336f78d69a95c008ec
parented5db0557e62a0404ecb306d549d25cebba27003 (diff)
wrong type for digest; ok claudio
-rw-r--r--usr.sbin/ripd/auth.c4
1 files 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 <mydecay@openbeer.it>
@@ -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));