Lines Matching refs:cred
70 krb5_gss_cred_id_t cred; in gss_krb5int_set_allowable_enctypes() local
88 cred = (krb5_gss_cred_id_t) cred_handle; in gss_krb5int_set_allowable_enctypes()
98 kerr = k5_mutex_lock(&cred->lock); in gss_krb5int_set_allowable_enctypes()
101 if (cred->req_enctypes) in gss_krb5int_set_allowable_enctypes()
102 free(cred->req_enctypes); in gss_krb5int_set_allowable_enctypes()
103 cred->req_enctypes = NULL; in gss_krb5int_set_allowable_enctypes()
104 k5_mutex_unlock(&cred->lock); in gss_krb5int_set_allowable_enctypes()
117 kerr = k5_mutex_lock(&cred->lock); in gss_krb5int_set_allowable_enctypes()
122 if (cred->req_enctypes) in gss_krb5int_set_allowable_enctypes()
123 free(cred->req_enctypes); in gss_krb5int_set_allowable_enctypes()
124 cred->req_enctypes = new_ktypes; in gss_krb5int_set_allowable_enctypes()
125 k5_mutex_unlock(&cred->lock); in gss_krb5int_set_allowable_enctypes()