From 170ba81aa63be035d2a1b6020558fee1f7ec4ded Mon Sep 17 00:00:00 2001 From: Richard Basch Date: Tue, 5 Dec 1995 03:47:34 +0000 Subject: [PATCH] When searching for cached credentials, make sure we are also looking for credentials that are matching a supported application keytype. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7169 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/get_creds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/krb5/krb/get_creds.c b/src/lib/krb5/krb/get_creds.c index ed7f145a1..169e926c3 100644 --- a/src/lib/krb5/krb/get_creds.c +++ b/src/lib/krb5/krb/get_creds.c @@ -72,7 +72,7 @@ krb5_get_credentials(context, options, ccache, in_creds, out_creds) mcreds.client = in_creds->client; fields = KRB5_TC_MATCH_TIMES /*XXX |KRB5_TC_MATCH_SKEY_TYPE */ - | KRB5_TC_MATCH_AUTHDATA; + | KRB5_TC_MATCH_AUTHDATA | KRB5_TC_MATCH_KTYPE; if (options & KRB5_GC_USER_USER) { /* also match on identical 2nd tkt and tkt encrypted in a -- 2.26.2