+Mon Oct 27 01:04:24 1997 Tom Yu <tlyu@mit.edu>
+
+ * des.h: Replace KRB_INT32 with DES_INT32 to avoid temptation to
+ misuse.
+
Mon Oct 20 14:09:45 1997 Theodore Y. Ts'o <tytso@mit.edu>
* krb.h: If we are using prototypes, add a forward declaration for
/* Key schedule */
/* Ick. We need this in here unfortunately... */
-#ifndef KRB_INT32
+#ifndef DES_INT32
#ifdef SIZEOF_INT
#if SIZEOF_INT >= 4
-#define KRB_INT32 int
+#define DES_INT32 int
#else
-#define KRB_INT32 long
+#define DES_INT32 long
#endif
#else /* !defined(SIZEOF_INT) */
#include <limits.h>
#if (UINT_MAX >= 0xffffffff)
-#define KRB_INT32 int
+#define DES_INT32 int
#else
-#define KRB_INT32 long
+#define DES_INT32 long
#endif
#endif /* !defined(SIZEOF_INT) */
-#endif /* !defined(KRB_INT32) */
+#endif /* !defined(DES_INT32) */
-typedef struct des_ks_struct { KRB_INT32 _[2]; } des_key_schedule[16];
+typedef struct des_ks_struct { DES_INT32 _[2]; } des_key_schedule[16];
#define DES_KEY_SZ (sizeof(des_cblock))
#define DES_ENCRYPT 1