(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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user