* SUCH DAMAGE.
*/
-#if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)crypt.c 5.11 (Berkeley) 6/25/91";
-#endif /* LIBC_SCCS and not lint */
+#include <afsconfig.h>
+#include <afs/param.h>
+
+RCSID("$Header$");
#ifdef AFS_NT40_ENV
#include <windows.h>
#endif
#include <stdlib.h>
-#if defined(HAVE_STRINGS_H)
+#ifdef HAVE_STRING_H
+#include <string.h>
+#else
+#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif
-#if defined(HAVE_STRING_H)
-#include <string.h>
#endif
/*
struct {
#if defined(LONG_IS_32_BITS)
/* long is often faster than a 32-bit bit field */
+#if defined(AFS_IA64_LINUX20_ENV)
+ int i0;
+ int i1;
+#else
long i0;
long i1;
+#endif
#else
long i0: 32;
long i1: 32;
int num_iter, salt_size;
C_block keyblock, rsltblock;
+
for (i = 0; i < 8; i++) {
if ((t = 2*(unsigned char)(*key)) != 0)
key++;