changes to reflect changes in krb5_tgtname
authorJohn Kohl <jtkohl@mit.edu>
Thu, 3 May 1990 18:30:13 +0000 (18:30 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Thu, 3 May 1990 18:30:13 +0000 (18:30 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@713 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/gc_via_tgt.c

index 37ecf53cbdc5815c9047d89963907af1946eb239..fc9f3c9219081288c19983d7731ed3577841627c 100644 (file)
@@ -55,7 +55,8 @@ OLDDECLARG(krb5_creds *, cred)
     if (!tgt->ticket.length)
        return(KRB5_NO_TKT_SUPPLIED);
 
-    if (retval = krb5_tgtname(cred->server, cred->client, &tempprinc))
+    if (retval = krb5_tgtname(krb5_princ_realm(cred->server),
+                             krb5_princ_realm(cred->client), &tempprinc))
        return(retval);
     
     if (!krb5_principal_compare(tempprinc, tgt->server)) {