{
krb5_error_code retval;
- krb5_as_req *as_req;
- krb5_tgs_req *tgs_req;
+ krb5_kdc_req *as_req;
+ krb5_kdc_req *tgs_req;
/* decode incoming packet, and dispatch */
/* try TGS_REQ first; they are more common! */
if (krb5_is_tgs_req(pkt)) {
if (!(retval = decode_krb5_tgs_req(pkt, &tgs_req))) {
retval = process_tgs_req(tgs_req, from, response);
- krb5_free_tgs_req(tgs_req);
+ krb5_free_kdc_req(tgs_req);
}
} else if (krb5_is_as_req(pkt)) {
if (!(retval = decode_krb5_as_req(pkt, &as_req))) {
retval = process_as_req(as_req, from, response);
- krb5_free_as_req(as_req);
+ krb5_free_kdc_req(as_req);
}
} else if (pkt->data[0] == 4) /* XXX old version */
return(process_v4(pkt));