diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-07-23 00:42:27 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-07-23 00:42:27 +0000 |
commit | b9a03772f319a9fbb2459c234d35be481a718f06 (patch) | |
tree | a8d8a2c74e6e761858ff63a35cc27fca45e1814c | |
parent | bd516df9660db8979bee00106127b41c024291e9 (diff) |
Increase max hashname length for rmd160.
-rw-r--r-- | lib/libskey/skey.h | 6 |
1 files changed, 3 insertions, 3 deletions
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 |