Home
last modified time | relevance | path

Searched refs:compare_authdata (Results 1 – 1 of 1) sorted by relevance

/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/
H A Dcc_retr.c386 krb5_authdata **compare_authdata = in_compare_creds->authdata; in krb5_creds_compare() local
389 if (authdata && compare_authdata) { in krb5_creds_compare()
390 for (i = 0; (equal && authdata[i] && compare_authdata[i]); i++) { in krb5_creds_compare()
391 equal = (authdata[i]->ad_type == compare_authdata[i]->ad_type && in krb5_creds_compare()
392 authdata[i]->length == compare_authdata[i]->length && in krb5_creds_compare()
394 !memcmp (authdata[i]->contents, compare_authdata[i]->contents, in krb5_creds_compare()
397 if (equal) { equal = (!authdata[i] && !compare_authdata[i]); } in krb5_creds_compare()
399 if (equal) { equal = (!authdata && !compare_authdata); } in krb5_creds_compare()