diff options
Diffstat (limited to 'kerberosIV/krb/str2key.c')
-rw-r--r-- | kerberosIV/krb/str2key.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kerberosIV/krb/str2key.c b/kerberosIV/krb/str2key.c index f9dbd50a08e..681f4bfee57 100644 --- a/kerberosIV/krb/str2key.c +++ b/kerberosIV/krb/str2key.c @@ -56,7 +56,7 @@ afs_cmu_StringToKey (str, cell, key) /* crypt only considers the first 8 characters of password but for some reason returns eleven characters of result (plus the two salt chars). */ - strncpy((void *)key, (char *)crypt(password, "#~") + 2, sizeof(des_cblock)); + strncpy((void *)key, (char *)des_crypt(password, "#~") + 2, sizeof(des_cblock)); /* parity is inserted into the LSB so leftshift each byte up one bit. This allows ascii characters with a zero MSB to retain as much significance |