+2000-10-17 Ezra Peisach <epeisach@mit.edu>
+
+ * cksum.c (des_cbc_cksum): Length is unsigned long.
+
+ * enc_dec.c (des_cbc_encrypt): Length is unsigned long.
+
Thu Jun 29 17:11:17 2000 Ezra Peisach <epeisach@mit.edu>
* random_key.c (des_random_key): Add parentheses around assignment
des_cbc_cksum(in,out,length,key,iv)
krb5_octet *in; /* >= length bytes of inputtext */
krb5_octet *out; /* >= length bytes of outputtext */
- register long length; /* in bytes */
+ register unsigned long length; /* in bytes */
mit_des_key_schedule key; /* precomputed key schedule */
krb5_octet *iv; /* 8 bytes of ivec */
{
des_cbc_encrypt(in,out,length,key,iv,encrypt)
krb5_octet *in; /* >= length bytes of input text */
krb5_octet *out; /* >= length bytes of output text */
- register long length; /* in bytes */
+ register unsigned long length; /* in bytes */
mit_des_key_schedule key; /* precomputed key schedule */
krb5_octet *iv; /* 8 bytes of ivec */
int encrypt; /* 0 ==> decrypt, else encrypt */