Lines Matching refs:mcreds
183 * Return TRUE if `mcreds' and `creds' are equal (`whichfields'
191 * - KRB5_TC_MATCH_FLAGS Make sure that all ticket flags set in mcreds are also present in creds .
200 * @param mcreds cred to compare with.
210 const krb5_creds * mcreds, const krb5_creds * creds)
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,
233 match = mcreds->session.keytype == creds->session.keytype;
236 match = mcreds->flags.i == creds->flags.i;
239 match = (creds->flags.i & mcreds->flags.i) == mcreds->flags.i;
242 match = krb5_times_equal(&mcreds->times, &creds->times);
246 match = (mcreds->times.renew_till <= creds->times.renew_till) &&
247 (mcreds->times.endtime <= creds->times.endtime);
251 if(mcreds->authdata.len != creds->authdata.len)
254 for(i = 0; match && i < mcreds->authdata.len; i++)
255 match = (mcreds->authdata.val[i].ad_type ==
257 (krb5_data_cmp(&mcreds->authdata.val[i].ad_data,
261 match = (krb5_data_cmp(&mcreds->second_ticket, &creds->second_ticket) == 0);
264 match = ((mcreds->second_ticket.length == 0) ==