summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib/crypto/crc32/ChangeLog5
-rw-r--r--src/lib/crypto/crc32/crc-32.h35
-rw-r--r--src/lib/crypto/crc32/crc.c6
-rw-r--r--src/lib/crypto/crc32/crctest.c4
4 files changed, 44 insertions, 6 deletions
diff --git a/src/lib/crypto/crc32/ChangeLog b/src/lib/crypto/crc32/ChangeLog
index 11b432714..a33322ef1 100644
--- a/src/lib/crypto/crc32/ChangeLog
+++ b/src/lib/crypto/crc32/ChangeLog
@@ -1,3 +1,8 @@
+Wed Jan 25 20:01:33 1995 John Gilmore (gnu at toad.com)
+
+ * crc-32.h: New file, moved from include/krb5/crc-32.h.
+ * crc.c, crctest.c: Replace <.../...> includes with "..."s.
+
Wed Oct 19 12:27:16 1994 Theodore Y. Ts'o (tytso@dcl)
* Makefile.in: Don't use LDFLAGS, but CCFLAGS since CCFLAGS is
diff --git a/src/lib/crypto/crc32/crc-32.h b/src/lib/crypto/crc32/crc-32.h
new file mode 100644
index 000000000..28d0dc451
--- /dev/null
+++ b/src/lib/crypto/crc32/crc-32.h
@@ -0,0 +1,35 @@
+/*
+ * include/krb5/crc-32.h
+ *
+ * Copyright 1989,1990 by the Massachusetts Institute of Technology.
+ * All Rights Reserved.
+ *
+ * Export of this software from the United States of America may
+ * require a specific license from the United States Government.
+ * It is the responsibility of any person or organization contemplating
+ * export to obtain such a license before exporting.
+ *
+ * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
+ * distribute this software and its documentation for any purpose and
+ * without fee is hereby granted, provided that the above copyright
+ * notice appear in all copies and that both that copyright notice and
+ * this permission notice appear in supporting documentation, and that
+ * the name of M.I.T. not be used in advertising or publicity pertaining
+ * to distribution of the software without specific, written prior
+ * permission. M.I.T. makes no representations about the suitability of
+ * this software for any purpose. It is provided "as is" without express
+ * or implied warranty.
+ *
+ *
+ * Definitions for the CRC-32 checksum
+ */
+
+
+#ifndef KRB5_CRC32__
+#define KRB5_CRC32__
+
+#define CRC32_CKSUM_LENGTH (4*sizeof(krb5_octet))
+
+extern krb5_checksum_entry crc32_cksumtable_entry;
+
+#endif /* KRB5_CRC32__ */
diff --git a/src/lib/crypto/crc32/crc.c b/src/lib/crypto/crc32/crc.c
index 5321108b4..28dd15d1c 100644
--- a/src/lib/crypto/crc32/crc.c
+++ b/src/lib/crypto/crc32/crc.c
@@ -24,10 +24,8 @@
* CRC-32/AUTODIN-II routines
*/
-
-#include <krb5/krb5.h>
-#include <krb5/crc-32.h>
-#include <krb5/ext-proto.h>
+#include "k5-int.h"
+#include "crc-32.h"
/* This table and block of comments are taken from code labeled: */
/*
diff --git a/src/lib/crypto/crc32/crctest.c b/src/lib/crypto/crc32/crctest.c
index cacfa2171..25b97dae8 100644
--- a/src/lib/crypto/crc32/crctest.c
+++ b/src/lib/crypto/crc32/crctest.c
@@ -25,8 +25,8 @@
*/
-#include <krb5/krb5.h>
-#include <krb5/crc-32.h>
+#include "k5-int.h"
+#include "crc-32.h"
#include <stdio.h>
void