+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
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;
(ivec
? (unsigned char *) ivec->data
: (unsigned char *) mit_des_zeroblock),
- encrypt);
+ enc);
memset(schedule, 0, sizeof(schedule));
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;
(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));