diff options
author | 1997-07-23 00:42:26 +0000 | |
---|---|---|
committer | 1997-07-23 00:42:26 +0000 | |
commit | a0ff248a262fe37532b4d8edb7fc6ac9cde1515f (patch) | |
tree | f63af9a69789407950f53db27fbae4fffbbce5e3 /lib/libskey/skey.h | |
parent | add ipsec (diff) | |
download | wireguard-openbsd-a0ff248a262fe37532b4d8edb7fc6ac9cde1515f.tar.xz wireguard-openbsd-a0ff248a262fe37532b4d8edb7fc6ac9cde1515f.zip |
Increase max hashname length for rmd160.
Diffstat (limited to 'lib/libskey/skey.h')
-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 |