From 8e11b5f97d11818fef4269641facc16fd37cd885 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Thu, 3 May 1990 18:30:13 +0000 Subject: [PATCH] changes to reflect changes in krb5_tgtname git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@713 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/gc_via_tgt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)) { -- 2.26.2