return(KRB5_SAM_UNSUPPORTED);
}
- if (!valid_enctype(sc2b->sam_etype)) {
+ if (!krb5_c_valid_enctype(sc2b->sam_etype)) {
krb5_free_sam_challenge_2(context, sc2);
krb5_free_sam_challenge_2_body(context, sc2b);
return(KRB5_SAM_INVALID_ETYPE);
/* check if program has support for this etype for more
* precise error reporting.
*/
- if (valid_enctype(etype_info[l]->etype))
+ if (krb5_c_valid_enctype(etype_info[l]->etype))
valid_etype_found++;
}
}