diff options
author | Thorsten Lockert <tholo@cvs.openbsd.org> | 1997-02-15 19:57:01 +0000 |
---|---|---|
committer | Thorsten Lockert <tholo@cvs.openbsd.org> | 1997-02-15 19:57:01 +0000 |
commit | 34a5a573a82135489e7fe007d17bfd186266f922 (patch) | |
tree | a9f1708e975a4a3b0ad3c21d0d04c8eecd1566ce /kerberosIV/krb/str2key.c | |
parent | 23e9e461c7b4cba1f7cd31804393afd34c290b65 (diff) |
Rename crypt() entry in libdes to des_crypt
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 |