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
@@ -2575,7 +2575,7 @@ krb5_crypto_init(krb5_context context,
|
||||
ALLOC(*crypto, 1);
|
||||
if (*crypto == NULL)
|
||||
return krb5_enomem(context);
|
||||
if(etype == (krb5_enctype)ETYPE_NULL)
|
||||
if(etype == ETYPE_NULL)
|
||||
etype = key->keytype;
|
||||
(*crypto)->et = _krb5_find_enctype(etype);
|
||||
if((*crypto)->et == NULL || ((*crypto)->et->flags & F_DISABLED)) {
|
||||
|
Reference in New Issue
Block a user