From 34a5a573a82135489e7fe007d17bfd186266f922 Mon Sep 17 00:00:00 2001 From: Thorsten Lockert Date: Sat, 15 Feb 1997 19:57:01 +0000 Subject: Rename crypt() entry in libdes to des_crypt --- kerberosIV/krb/str2key.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kerberosIV/krb/str2key.c') 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 -- cgit v1.2.3