Lines Matching refs:match
212 krb5_boolean match = TRUE;
214 if (match && mcreds->server) {
216 match = krb5_principal_compare_any_realm (context, mcreds->server,
219 match = krb5_principal_compare (context, mcreds->server,
223 if (match && mcreds->client) {
225 match = krb5_principal_compare_any_realm (context, mcreds->client,
228 match = krb5_principal_compare (context, mcreds->client,
232 if (match && (whichfields & KRB5_TC_MATCH_KEYTYPE))
233 match = mcreds->session.keytype == creds->session.keytype;
235 if (match && (whichfields & KRB5_TC_MATCH_FLAGS_EXACT))
236 match = mcreds->flags.i == creds->flags.i;
238 if (match && (whichfields & KRB5_TC_MATCH_FLAGS))
239 match = (creds->flags.i & mcreds->flags.i) == mcreds->flags.i;
241 if (match && (whichfields & KRB5_TC_MATCH_TIMES_EXACT))
242 match = krb5_times_equal(&mcreds->times, &creds->times);
244 if (match && (whichfields & KRB5_TC_MATCH_TIMES))
246 match = (mcreds->times.renew_till <= creds->times.renew_till) &&
249 if (match && (whichfields & KRB5_TC_MATCH_AUTHDATA)) {
252 match = FALSE;
254 for(i = 0; match && i < mcreds->authdata.len; i++)
255 match = (mcreds->authdata.val[i].ad_type ==
260 if (match && (whichfields & KRB5_TC_MATCH_2ND_TKT))
261 match = (krb5_data_cmp(&mcreds->second_ticket, &creds->second_ticket) == 0);
263 if (match && (whichfields & KRB5_TC_MATCH_IS_SKEY))
264 match = ((mcreds->second_ticket.length == 0) ==
267 return match;