From: Keith Vetter Date: Mon, 20 Feb 1995 20:16:23 +0000 (+0000) Subject: Experimental checkin X-Git-Tag: krb5-1.0-beta5~709 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3980016d73526633cc644c48f2a2e191011427ac;p=krb5.git Experimental checkin git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4953 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/crypto/crc32/ChangeLog b/src/lib/crypto/crc32/ChangeLog index e457eb20d..26f6d0b49 100644 --- a/src/lib/crypto/crc32/ChangeLog +++ b/src/lib/crypto/crc32/ChangeLog @@ -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 diff --git a/src/lib/crypto/crc32/crc.c b/src/lib/crypto/crc32/crc.c index 3e29e9a5f..5860a0f38 100644 --- a/src/lib/crypto/crc32/crc.c +++ b/src/lib/crypto/crc32/crc.c @@ -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 */