Change sizeof(long) to sizeof(krb5_int32)
authorEzra Peisach <epeisach@mit.edu>
Sat, 9 Mar 1996 02:37:38 +0000 (02:37 +0000)
committerEzra Peisach <epeisach@mit.edu>
Sat, 9 Mar 1996 02:37:38 +0000 (02:37 +0000)
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

src/lib/gssapi/krb5/ChangeLog
src/lib/gssapi/krb5/util_cksum.c

index cef0f50334699de45bd6e852f46ddc0acc093f07..37e80b226fe3aeae6c7bd065854bb09b8e8159bf 100644 (file)
@@ -1,3 +1,8 @@
+Fri Mar  8 21:36:29 1996  Ezra Peisach  <epeisach@kangaroo.mit.edu>
+
+       * 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  <tytso@dcl>
 
        * k5mech.c (krb5_gss_get_context): Initialize the serializers
index 99f8c3bef8d03ac38777dee21127da318e6ce3cf..b762aa1ac2edf3c221c8bb5bee3da4e4652aeb83 100644 (file)
@@ -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);