From: Ezra Peisach Date: Sat, 9 Mar 1996 02:37:38 +0000 (+0000) Subject: Change sizeof(long) to sizeof(krb5_int32) X-Git-Tag: krb5-1.0-beta6~400 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=249c1f463dc2a54447832ccf297b07b559ac039c;p=krb5.git Change sizeof(long) to sizeof(krb5_int32) Yet another piece of code that was assuming that longs are 32 bits... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7602 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/gssapi/krb5/ChangeLog b/src/lib/gssapi/krb5/ChangeLog index cef0f5033..37e80b226 100644 --- a/src/lib/gssapi/krb5/ChangeLog +++ b/src/lib/gssapi/krb5/ChangeLog @@ -1,3 +1,8 @@ +Fri Mar 8 21:36:29 1996 Ezra Peisach + + * util_cksum.c (kg_checksum_channel_bindings): Change sizeof(long) + to sizeof(krb5_int32). + Sat Mar 2 02:22:30 1996 Theodore Y. Ts'o * k5mech.c (krb5_gss_get_context): Initialize the serializers diff --git a/src/lib/gssapi/krb5/util_cksum.c b/src/lib/gssapi/krb5/util_cksum.c index 99f8c3bef..b762aa1ac 100644 --- a/src/lib/gssapi/krb5/util_cksum.c +++ b/src/lib/gssapi/krb5/util_cksum.c @@ -52,7 +52,7 @@ kg_checksum_channel_bindings(cb, cksum, bigend) /* create the buffer to checksum into */ - len = (sizeof(long)*5+ + len = (sizeof(krb5_int32)*5+ cb->initiator_address.length+ cb->acceptor_address.length+ cb->application_data.length);