Experimental checkin
authorKeith Vetter <keithv@fusion.com>
Mon, 20 Feb 1995 20:16:23 +0000 (20:16 +0000)
committerKeith Vetter <keithv@fusion.com>
Mon, 20 Feb 1995 20:16:23 +0000 (20:16 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4953 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/crypto/crc32/ChangeLog
src/lib/crypto/crc32/crc.c

index e457eb20dc03ad6a03efa142de656236c2649710..26f6d0b4957c1d61422edd0c28f188d152de02ba 100644 (file)
@@ -1,3 +1,8 @@
+Fri Feb 20 11:08:00 1995 Keith Vetter (keithv@fusion.com)
+
+       * crc.c: added function prototype and removed a function
+          pointer cast.
+
 Mon Feb 6 19:24:13 1995 Keith Vetter (keithv@fusion.com)
 
         * Makefile.in: made to work under Windows
index 3e29e9a5fb7f3c266f1bb17ffeeb84554bb69ec7..5860a0f383f6402ce92d7f19ac5401e055a4a4a5 100644 (file)
@@ -143,6 +143,10 @@ static u_long const crc_table[256] = {
     0xb40bbe37, 0xc30c8ea1, 0x5a05df1b, 0x2d02ef8d
     };
 
+krb5_error_code API
+crc32_sum_func NPROTOTYPE((krb5_pointer in, size_t in_length,
+    krb5_pointer seed, size_t seed_length, krb5_checksum *outcksum));
+
 krb5_error_code API
 crc32_sum_func(in, in_length, seed, seed_length, outcksum)
 krb5_pointer in;
@@ -176,7 +180,7 @@ krb5_checksum FAR *outcksum;
 
 krb5_checksum_entry crc32_cksumtable_entry = {
     0,
-    (SUM_FUNC) crc32_sum_func,
+    crc32_sum_func,
     CRC32_CKSUM_LENGTH, /* CRC-32 is 4 octets */
     0,                                 /* not collision proof */
     0,                                 /* doesn't use key */