From b9a03772f319a9fbb2459c234d35be481a718f06 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Wed, 23 Jul 1997 00:42:27 +0000 Subject: Increase max hashname length for rmd160. --- lib/libskey/skey.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/libskey') diff --git a/lib/libskey/skey.h b/lib/libskey/skey.h index d651fb43523..c20d5638bb4 100644 --- a/lib/libskey/skey.h +++ b/lib/libskey/skey.h @@ -11,7 +11,7 @@ * * Main client header * - * $Id: skey.h,v 1.7 1996/11/03 18:57:29 millert Exp $ + * $Id: skey.h,v 1.8 1997/07/23 00:42:26 millert Exp $ */ /* Server-side data structure for reading keys file during login */ @@ -59,8 +59,8 @@ struct mc #define SKEY_MAX_CHALLENGE (11 + SKEY_MAX_HASHNAME_LEN + SKEY_MAX_SEED_LEN) #endif -/* Max length of hash algorithm name (md4/md5/sha1) */ -#define SKEY_MAX_HASHNAME_LEN 4 +/* Max length of hash algorithm name (md4/md5/sha1/rmd160) */ +#define SKEY_MAX_HASHNAME_LEN 6 /* Size of a binary key (not NULL-terminated) */ #define SKEY_BINKEY_SIZE 8 -- cgit v1.2.3