* des.c (k5_des_docrypt): Do not use a variable named "encrypt"
authorEzra Peisach <epeisach@mit.edu>
Thu, 31 May 2001 17:36:30 +0000 (17:36 +0000)
committerEzra Peisach <epeisach@mit.edu>
Thu, 31 May 2001 17:36:30 +0000 (17:36 +0000)
* des3.c (k5_des3_docrypt): Likewise.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13252 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/crypto/enc_provider/ChangeLog
src/lib/crypto/enc_provider/des.c
src/lib/crypto/enc_provider/des3.c

index 7c9c1b049b3b1d2d9cc7b94b20be635e765e71ca..6a63ec8a73094438ab507b507a3975c91dfa7d5b 100644 (file)
@@ -1,3 +1,8 @@
+2001-05-31  Ezra Peisach  <epeisach@mit.edu>
+
+       * des.c (k5_des_docrypt): Do not use a variable named "encrypt"
+       * des3.c (k5_des3_docrypt): Likewise.
+
 2001-04-10  Ken Raeburn  <raeburn@mit.edu>
 
        * des.c (k5_des_docrypt): Add casts when mixing pointer types with
index 90cf6d01fcb1cf19176361f73bf1d538d5b9de73..e12ddcdc9aa0467663cfc4dbae342763867340d9 100644 (file)
@@ -45,7 +45,7 @@ k5_des_keysize(size_t *keybytes, size_t *keylength)
 
 static krb5_error_code
 k5_des_docrypt(const krb5_keyblock *key, const krb5_data *ivec,
-              const krb5_data *input, krb5_data *output, int encrypt)
+              const krb5_data *input, krb5_data *output, int enc)
 {
     mit_des_key_schedule schedule;
 
@@ -75,7 +75,7 @@ k5_des_docrypt(const krb5_keyblock *key, const krb5_data *ivec,
                        (ivec
                         ? (unsigned char *) ivec->data
                         : (unsigned char *) mit_des_zeroblock),
-                       encrypt);
+                       enc);
 
     memset(schedule, 0, sizeof(schedule));
 
index 96503292304c3852a6920d722f4d9818981fe111..5f638fdbae357cae67a148ba666f437a2b23f203 100644 (file)
@@ -44,7 +44,7 @@ k5_des3_keysize(size_t *keybytes, size_t *keylength)
 
 static krb5_error_code
 k5_des3_docrypt(const krb5_keyblock *key, const krb5_data *ivec,
-               const krb5_data *input, krb5_data *output, int encrypt)
+               const krb5_data *input, krb5_data *output, int enc)
 {
     mit_des3_key_schedule schedule;
 
@@ -73,7 +73,7 @@ k5_des3_docrypt(const krb5_keyblock *key, const krb5_data *ivec,
                         (krb5_pointer) output->data, input->length,
                         schedule[0], schedule[1], schedule[2],
                         ivec?(unsigned char *) ivec->data:(unsigned char *)mit_des_zeroblock,
-                        encrypt);
+                        enc);
 
     memset(schedule, 0, sizeof(schedule));