fixes for new TGS stuff
authorJohn Kohl <jtkohl@mit.edu>
Wed, 10 Oct 1990 12:08:52 +0000 (12:08 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Wed, 10 Oct 1990 12:08:52 +0000 (12:08 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1209 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/asn.1/kdcr2kkdcr.c
src/lib/krb5/asn.1/kdcr2ktgsr.c
src/lib/krb5/asn.1/kkdcr2kdcr.c
src/lib/krb5/asn.1/ktgsr2kdcr.c

index 002ee2e6ee92d05ccf68fc1af3f464cd92946253..191c59da0d46d06d07ca216125f7caca16a37e3c 100644 (file)
@@ -30,7 +30,7 @@ static char rcsid_kdcr2kkdcr_c[] =
 
 krb5_kdc_rep *
 KRB5_KDC__REP2krb5_kdc_rep(val, type, error)
-const register struct type_KRB5_KDC__REP *val;
+const register struct type_KRB5_TGS__REP *val;
 krb5_msgtype *type;
 register int *error;
 {
index 18deabcd8373a8d2fccf3a3d174ed0668d72571a..a24edf2d33f5ff2e537eca8d45c138c25ce8832c 100644 (file)
@@ -30,7 +30,7 @@ static char rcsid_kdcr2ktgsr_c[] =
 
 krb5_kdc_rep *
 KRB5_KDC__REP2krb5_tgs_rep(val, error)
-const register struct type_KRB5_KDC__REP *val;
+const register struct type_KRB5_TGS__REP *val;
 register int *error;
 {
     krb5_msgtype type;
index 0315f9da4bb70c7b3f851637aac606d34f89b692..2326b975860e2ccd910a7dccf39eb03037d1f7cf 100644 (file)
@@ -27,7 +27,7 @@ static char rcsid_kkdcr2kdcr_c[] =
 
 /* ISODE defines max(a,b) */
 
-struct type_KRB5_KDC__REP *
+struct type_KRB5_TGS__REP *
 krb5_kdc_rep2KRB5_KDC__REP(DECLARG(const register krb5_kdc_rep *,val),
                           DECLARG(const krb5_msgtype, type),
                           DECLARG(register int *,error))
@@ -35,9 +35,9 @@ OLDDECLARG(const register krb5_kdc_rep *,val)
 OLDDECLARG(const krb5_msgtype, type)
 OLDDECLARG(register int *,error)
 {
-    register struct type_KRB5_KDC__REP *retval;
+    register struct type_KRB5_TGS__REP *retval;
 
-    retval = (struct type_KRB5_KDC__REP *)xmalloc(sizeof(*retval));
+    retval = (struct type_KRB5_TGS__REP *)xmalloc(sizeof(*retval));
     if (!retval) {
        *error = ENOMEM;
        return(0);
index 499e0ce04d584d7190c4650f0d201b795e6e5583..348453c2de8b6821296efa87fb191912e3cbb3b2 100644 (file)
@@ -28,10 +28,11 @@ static char rcsid_ktgsr2kdcr_c[] =
 
 /* ISODE defines max(a,b) */
 
-struct type_KRB5_KDC__REP *
+struct type_KRB5_TGS__REP *
 krb5_tgs_rep2KRB5_KDC__REP(val, error)
 const register krb5_kdc_rep *val;
 register int *error;
 {
-    return krb5_kdc_rep2KRB5_KDC__REP(val, KRB5_TGS_REP, error);
+    return (struct type_KRB5_TGS__REP *)
+       krb5_kdc_rep2KRB5_KDC__REP(val, KRB5_TGS_REP, error);
 }