From: John Kohl Date: Thu, 13 Jun 1991 14:14:59 +0000 (+0000) Subject: change "TGS" to "KDC" X-Git-Tag: krb5-1.0-beta2~288 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=88d23774b09e1c6ca40515060b6af2d09ad2eb91;p=krb5.git change "TGS" to "KDC" git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2174 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/asn.1/ekrp2kekrp.c b/src/lib/krb5/asn.1/ekrp2kekrp.c index 27d923928..b9928f5bb 100644 --- a/src/lib/krb5/asn.1/ekrp2kekrp.c +++ b/src/lib/krb5/asn.1/ekrp2kekrp.c @@ -42,8 +42,8 @@ static char rcsid_ekrp2kekrp_c[] = /* 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; diff --git a/src/lib/krb5/asn.1/kekrp2ekrp.c b/src/lib/krb5/asn.1/kekrp2ekrp.c index 5abbdb3f6..edfea3ee3 100644 --- a/src/lib/krb5/asn.1/kekrp2ekrp.c +++ b/src/lib/krb5/asn.1/kekrp2ekrp.c @@ -41,14 +41,14 @@ static char rcsid_kekrp2ekrp_c[] = /* 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); @@ -63,7 +63,7 @@ register int *error; 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; diff --git a/src/lib/krb5/asn.1/ktgrq2tgrq.c b/src/lib/krb5/asn.1/ktgrq2tgrq.c index 0fff67b94..8663097ce 100644 --- a/src/lib/krb5/asn.1/ktgrq2tgrq.c +++ b/src/lib/krb5/asn.1/ktgrq2tgrq.c @@ -226,14 +226,14 @@ register int *error; 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); @@ -250,7 +250,7 @@ register int *error; } 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); diff --git a/src/lib/krb5/asn.1/tgrq2ktgrq.c b/src/lib/krb5/asn.1/tgrq2ktgrq.c index e1f94e5e7..ea20d5acf 100644 --- a/src/lib/krb5/asn.1/tgrq2ktgrq.c +++ b/src/lib/krb5/asn.1/tgrq2ktgrq.c @@ -199,8 +199,8 @@ register int *error; } 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;