Fix bug in kadmin check warning message
This commit is contained in:

committed by
Jeffrey Altman

parent
454e729e84
commit
43a911eedc
@@ -88,9 +88,9 @@ do_check_entry(krb5_principal principal, void *data)
|
|||||||
&keysize);
|
&keysize);
|
||||||
if (ret == 0 && keysize != (size_t)princ.key_data[i].key_data_length[0]) {
|
if (ret == 0 && keysize != (size_t)princ.key_data[i].key_data_length[0]) {
|
||||||
krb5_warnx(context,
|
krb5_warnx(context,
|
||||||
"Principal %s enctype %d, wrong length: %lu\n",
|
"Principal %s enctype %d, wrong length: %d\n",
|
||||||
name, princ.key_data[i].key_data_type[0],
|
name, princ.key_data[i].key_data_type[0],
|
||||||
(unsigned long)princ.key_data[i].key_data_length);
|
princ.key_data[i].key_data_length[0]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user