(check_for_tgt): set client as part of the pattern/match cred

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12959 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2003-10-03 12:18:44 +00:00
parent 803a7c3db6
commit cdeab003ac

View File

@@ -318,6 +318,7 @@ check_for_tgt (krb5_context context,
NULL);
if (ret)
krb5_err (context, 1, ret, "krb5_make_principal");
pattern.client = principal;
ret = krb5_cc_retrieve_cred (context, ccache, 0, &pattern, &creds);
expired = time(NULL) > creds.times.endtime;