From: Ezra Peisach Date: Tue, 17 Oct 2000 22:58:46 +0000 (+0000) Subject: * cksum.c (des_cbc_cksum): Length is unsigned long X-Git-Tag: krb5-1.3-alpha1~1826 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2a1c666f2fa2bc6817a2b2216ec004f28bd1507d;p=krb5.git * cksum.c (des_cbc_cksum): Length is unsigned long * enc_dec.c (des_cbc_encrypt): Length is unsigned long. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12777 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/des425/ChangeLog b/src/lib/des425/ChangeLog index 2fe9c33a2..49265173d 100644 --- a/src/lib/des425/ChangeLog +++ b/src/lib/des425/ChangeLog @@ -1,3 +1,9 @@ +2000-10-17 Ezra Peisach + + * 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 * random_key.c (des_random_key): Add parentheses around assignment diff --git a/src/lib/des425/cksum.c b/src/lib/des425/cksum.c index b53dbfcd5..5f413cf25 100644 --- a/src/lib/des425/cksum.c +++ b/src/lib/des425/cksum.c @@ -59,7 +59,7 @@ void 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 */ { diff --git a/src/lib/des425/enc_dec.c b/src/lib/des425/enc_dec.c index 7a6be15b4..8834771e9 100644 --- a/src/lib/des425/enc_dec.c +++ b/src/lib/des425/enc_dec.c @@ -64,7 +64,7 @@ int 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 */