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
@@ -128,9 +128,9 @@ main(int argc, char **argv)
|
||||
if(ret)
|
||||
krb5_err(context, 1, ret, "krb5_string_to_enctype");
|
||||
|
||||
if((etype != (krb5_enctype)ETYPE_DES_CBC_CRC &&
|
||||
etype != (krb5_enctype)ETYPE_DES_CBC_MD4 &&
|
||||
etype != (krb5_enctype)ETYPE_DES_CBC_MD5) &&
|
||||
if((etype != ETYPE_DES_CBC_CRC &&
|
||||
etype != ETYPE_DES_CBC_MD4 &&
|
||||
etype != ETYPE_DES_CBC_MD5) &&
|
||||
(afs || version4)) {
|
||||
if(!version5) {
|
||||
etype = ETYPE_DES_CBC_CRC;
|
||||
|
Reference in New Issue
Block a user