fetchcreds
krb5_creds fetchcreds;
memset(&fetchcreds, 0, sizeof(krb5_creds));
msticket->DomainName, context, &fetchcreds)) {
if ( krb5int_cc_creds_match_request(context, whichfields, mcreds, &fetchcreds) ) {
*creds = fetchcreds;
krb5_free_cred_contents(context, &fetchcreds);
while (krb5_cc_next_cred(context, id, &cursor, &fetchcreds) == KRB5_OK) {
if (krb5int_cc_creds_match_request(context, whichfields, mcreds, &fetchcreds))
fetched.pref = pref (fetchcreds.keyblock.enctype,
*creds = fetchcreds;
krb5_free_cred_contents(context, &fetchcreds);