{
aes_ctx ctx;
char tmp[BLOCK_SIZE], tmp2[BLOCK_SIZE], tmp3[BLOCK_SIZE];
- int nblocks = 0, blockno, i;
+ int nblocks = 0, blockno;
+ unsigned int i;
size_t input_length;
CHECK_SIZES;
/* this has a return value, but the code always returns zero */
krb5int_des3_cbc_encrypt_iov(data, num_data,
schedule[0], schedule[1], schedule[2],
- ivec != NULL ? (const unsigned char *) ivec->data : NULL);
+ ivec != NULL ? (unsigned char *) ivec->data : NULL);
zap(schedule, sizeof(schedule));
/* this has a return value, but the code always returns zero */
krb5int_des3_cbc_decrypt_iov(data, num_data,
schedule[0], schedule[1], schedule[2],
- ivec != NULL ? (const unsigned char *) ivec->data : NULL);
+ ivec != NULL ? (unsigned char *) ivec->data : NULL);
zap(schedule, sizeof(schedule));
krb5_error_code KRB5_CALLCONV
krb5_string_to_enctype(char *string, krb5_enctype *enctypep)
{
- int i, j;
+ unsigned int i, j;
for (i=0; i<krb5_enctypes_length; i++) {
if (strcasecmp(krb5_enctypes_list[i].name, string) == 0) {