remove (krb5_enctype) cast for ETYPE_xxx
Now that ETYPE_xxx names are macros to the KRB5_ENCTYPE_xxx symbols there is no longer a need to cast to (krb5_enctype). Change-Id: Ib561f6e45346abac7a53eb1db0bfef60ee3bcb74
This commit is contained in:

committed by
Jeffrey Altman

parent
90e51a3d18
commit
1685c34b0d
@@ -271,7 +271,7 @@ _kdc_get_preferred_key(krb5_context context,
|
||||
if (config->use_strongest_server_key) {
|
||||
const krb5_enctype *p = krb5_kerberos_enctypes(context);
|
||||
|
||||
for (i = 0; p[i] != (krb5_enctype)ETYPE_NULL; i++) {
|
||||
for (i = 0; p[i] != ETYPE_NULL; i++) {
|
||||
if (krb5_enctype_valid(context, p[i]) != 0 &&
|
||||
!_kdc_is_weak_exception(h->principal, p[i]))
|
||||
continue;
|
||||
|
Reference in New Issue
Block a user