/* ISODE defines max(a,b) */
krb5_enc_kdc_rep_part *
-KRB5_EncTGSRepPart2krb5_enc_kdc_rep_part(val, error)
-const register struct type_KRB5_EncTGSRepPart *val;
+KRB5_EncKDCRepPart2krb5_enc_kdc_rep_part(val, error)
+const register struct type_KRB5_EncKDCRepPart *val;
register int *error;
{
register krb5_enc_kdc_rep_part *retval;
/* ISODE defines max(a,b) */
-struct type_KRB5_EncTGSRepPart *
-krb5_enc_kdc_rep_part2KRB5_EncTGSRepPart(val, error)
+struct type_KRB5_EncKDCRepPart *
+krb5_enc_kdc_rep_part2KRB5_EncKDCRepPart(val, error)
const register krb5_enc_kdc_rep_part *val;
register int *error;
{
- register struct type_KRB5_EncTGSRepPart *retval;
+ register struct type_KRB5_EncKDCRepPart *retval;
- retval = (struct type_KRB5_EncTGSRepPart *)xmalloc(sizeof(*retval));
+ retval = (struct type_KRB5_EncKDCRepPart *)xmalloc(sizeof(*retval));
if (!retval) {
*error = ENOMEM;
return(0);
retval->last__req = krb5_last_req2KRB5_LastReq(val->last_req, error);
if (!retval->last__req) {
errout:
- free_KRB5_EncTGSRepPart(retval);
+ free_KRB5_EncKDCRepPart(retval);
return(0);
}
retval->nonce = val->nonce;
return retval;
}
-struct type_KRB5_TGS__REQ *
-krb5_kdc_req2KRB5_TGS__REQ(val, error)
+struct type_KRB5_KDC__REQ *
+krb5_kdc_req2KRB5_KDC__REQ(val, error)
const register krb5_kdc_req *val;
register int *error;
{
- register struct type_KRB5_TGS__REQ *retval;
+ register struct type_KRB5_KDC__REQ *retval;
- retval = (struct type_KRB5_TGS__REQ *)xmalloc(sizeof(*retval));
+ retval = (struct type_KRB5_KDC__REQ *)xmalloc(sizeof(*retval));
if (!retval) {
*error = ENOMEM;
return(0);
}
retval->req__body = krb5_kdc_req2KRB5_KDC__REQ__BODY(val, error);
if (!retval->req__body) {
- free_KRB5_TGS__REQ(retval);
+ free_KRB5_KDC__REQ(retval);
return(0);
}
return(retval);
}
krb5_kdc_req *
-KRB5_TGS__REQ2krb5_kdc_req(val, error)
-const register struct type_KRB5_TGS__REQ *val;
+KRB5_KDC__REQ2krb5_kdc_req(val, error)
+const register struct type_KRB5_KDC__REQ *val;
register int *error;
{
register krb5_kdc_req *retval;