kadmin: kadmind_dispatch incompatible pointer warning
warning: incompatible pointer types passing 'int *' to parameter of type 'size_t *' (aka 'unsigned long *') [-Wincompatible-pointer-types] Change-Id: Id75b1b1c9b46b63ab61134f4f91b7c2909d87077
This commit is contained in:
@@ -485,6 +485,7 @@ kadmind_dispatch(void *kadm_handlep, krb5_boolean initial,
|
||||
ret = krb5_ret_int32(sp, &n_ks_tuple);
|
||||
if (ret == HEIM_ERR_EOF) {
|
||||
const char *enctypes;
|
||||
size_t n;
|
||||
|
||||
enctypes = krb5_config_get_string(contextp->context, NULL,
|
||||
"realms",
|
||||
@@ -494,7 +495,8 @@ kadmind_dispatch(void *kadm_handlep, krb5_boolean initial,
|
||||
if (enctypes == NULL || enctypes[0] == '\0')
|
||||
enctypes = "aes128-cts-hmac-sha1-96";
|
||||
ret = krb5_string_to_keysalts2(contextp->context, enctypes,
|
||||
&n_ks_tuple, &ks_tuple);
|
||||
&n, &ks_tuple);
|
||||
n_ks_tuple = n;
|
||||
}
|
||||
if (ret != 0)
|
||||
goto fail;
|
||||
|
Reference in New Issue
Block a user