From: John Kohl Date: Thu, 3 May 1990 18:30:13 +0000 (+0000) Subject: changes to reflect changes in krb5_tgtname X-Git-Tag: krb5-1.0-alpha2~684 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8e11b5f97d11818fef4269641facc16fd37cd885;p=krb5.git changes to reflect changes in krb5_tgtname git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@713 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/krb/gc_via_tgt.c b/src/lib/krb5/krb/gc_via_tgt.c index 37ecf53cb..fc9f3c921 100644 --- a/src/lib/krb5/krb/gc_via_tgt.c +++ b/src/lib/krb5/krb/gc_via_tgt.c @@ -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)) {