* cksum.c (des_cbc_cksum): Length is unsigned long
authorEzra Peisach <epeisach@mit.edu>
Tue, 17 Oct 2000 22:58:46 +0000 (22:58 +0000)
committerEzra Peisach <epeisach@mit.edu>
Tue, 17 Oct 2000 22:58:46 +0000 (22:58 +0000)
        * 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

src/lib/des425/ChangeLog
src/lib/des425/cksum.c
src/lib/des425/enc_dec.c

index 2fe9c33a25d5b8c6fcb62fc90f821837255bb808..49265173d5232e3f33fb8c76c16350385fdbfbb6 100644 (file)
@@ -1,3 +1,9 @@
+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
index b53dbfcd572a6da458637a86d1026975af92d0ca..5f413cf255709ff161d0eac760c16b9106f20920 100644 (file)
@@ -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 */
 {
index 7a6be15b4ae0a7a69bfb284d0c16246155b477e8..8834771e9acc2eda758af27d695dc2f57019431b 100644 (file)
@@ -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 */