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:
Jeffrey Altman
2022-01-15 21:48:11 -05:00
committed by Jeffrey Altman
parent 90e51a3d18
commit 1685c34b0d
9 changed files with 17 additions and 17 deletions

View File

@@ -96,7 +96,7 @@ krb5_rd_cred(krb5_context context,
goto out;
}
if (cred.enc_part.etype == (krb5_enctype)ETYPE_NULL) {
if (cred.enc_part.etype == ETYPE_NULL) {
/* DK: MIT GSS-API Compatibility */
enc_krb_cred_part_data.length = cred.enc_part.cipher.length;
enc_krb_cred_part_data.data = cred.enc_part.cipher.data;