summaryrefslogtreecommitdiffstats
path: root/src/lib/crypto
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/crypto')
-rw-r--r--src/lib/crypto/des/ChangeLog4
-rw-r--r--src/lib/crypto/des/des_int.h8
2 files changed, 12 insertions, 0 deletions
diff --git a/src/lib/crypto/des/ChangeLog b/src/lib/crypto/des/ChangeLog
index 926632788..9f664d31b 100644
--- a/src/lib/crypto/des/ChangeLog
+++ b/src/lib/crypto/des/ChangeLog
@@ -1,3 +1,7 @@
+Fri Sep 22 23:32:58 1995 Theodore Y. Ts'o <tytso@dcl>
+
+ * des_int.h: Define PROTOTYPE if it is not defined elsewhere.
+
Tue Sep 12 18:50:50 1995 John Rivlin (jrivlin@fusion.com)
* f_pcbc.c: Added include of des_int.h which seemed to
diff --git a/src/lib/crypto/des/des_int.h b/src/lib/crypto/des/des_int.h
index 97ca9883e..029326632 100644
--- a/src/lib/crypto/des/des_int.h
+++ b/src/lib/crypto/des/des_int.h
@@ -34,6 +34,14 @@
#ifndef KRB5_MIT_DES__
#define KRB5_MIT_DES__
+#if !defined(PROTOTYPE)
+#if defined(__STDC__) || defined(_MSDOS)
+#define PROTOTYPE(x) x
+#else
+#define PROTOTYPE(x) ()
+#endif
+#endif
+
typedef krb5_octet mit_des_cblock[8]; /* crypto-block size */
/* Key schedule--used internally by DES routines to gain some speed */