summaryrefslogtreecommitdiff
path: root/kerberosIV/krb/str2key.c
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1997-02-15 19:57:01 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1997-02-15 19:57:01 +0000
commit34a5a573a82135489e7fe007d17bfd186266f922 (patch)
treea9f1708e975a4a3b0ad3c21d0d04c8eecd1566ce /kerberosIV/krb/str2key.c
parent23e9e461c7b4cba1f7cd31804393afd34c290b65 (diff)
Rename crypt() entry in libdes to des_crypt
Diffstat (limited to 'kerberosIV/krb/str2key.c')
-rw-r--r--kerberosIV/krb/str2key.c2
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