Home
last modified time | relevance | path

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

/freebsd/crypto/krb5/src/lib/gssapi/mechglue/
H A Dg_set_cred_option.c58 cred->cred_array = calloc(cred->count, sizeof(gss_cred_id_t)); in alloc_union_cred()
59 if (cred->cred_array == NULL) { in alloc_union_cred()
63 cred->cred_array[0] = mech_cred; in alloc_union_cred()
160 &union_cred->cred_array[i], in gss_set_cred_option()
H A Dg_imp_cred.c123 cred->cred_array = calloc(count, sizeof(*cred->cred_array)); in gss_import_cred()
124 if (cred->cred_array == NULL) in gss_import_cred()
165 cred->cred_array[cred->count++] = mech_cred; in gss_import_cred()
H A Dg_acquire_cred.c337 ncred->cred_array = calloc(cred->count, sizeof (*ncred->cred_array)); in copy_union_cred()
338 if (ncred->mechs_array == NULL || ncred->cred_array == NULL) in copy_union_cred()
350 status = copy_mech_cred(minor_status, cred->cred_array[i], in copy_union_cred()
351 &cred->mechs_array[i], &ncred->cred_array[i]); in copy_union_cred()
521 newptr = realloc(union_cred->cred_array, in gss_add_cred_from()
527 union_cred->cred_array = newptr; in gss_add_cred_from()
551 union_cred->cred_array[union_cred->count] = cred; in gss_add_cred_from()
H A Dg_rel_cred.c76 &union_cred->cred_array[j]); in gss_release_cred()
89 free(union_cred->cred_array); in gss_release_cred()
H A Dg_accept_sec_context.c333 d_u_cred->cred_array = malloc(sizeof(gss_cred_id_t)); in gss_accept_sec_context()
334 if (d_u_cred->cred_array != NULL) { in gss_accept_sec_context()
335 d_u_cred->cred_array[0] = tmp_d_cred; in gss_accept_sec_context()
H A Dg_acquire_cred_imp_name.c459 (void) memcpy(new_cred_array, union_cred->cred_array, in gss_add_cred_impersonate_name()
481 free(union_cred->cred_array); in gss_add_cred_impersonate_name()
494 new_union_cred->cred_array = new_cred_array; in gss_add_cred_impersonate_name()
H A Dg_acquire_cred_with_pw.c435 (void) memcpy(new_cred_array, union_cred->cred_array, in gss_add_cred_with_password()
457 free(union_cred->cred_array); in gss_add_cred_with_password()
470 new_union_cred->cred_array = new_cred_array; in gss_add_cred_with_password()
H A Dg_set_neg_mechs.c61 union_cred->cred_array[i], in gss_set_neg_mechs()
H A Dg_export_cred.c91 status = mech->gss_export_cred(minor_status, cred->cred_array[i], in gss_export_cred()
H A Dg_inq_cred_oid.c109 union_cred->cred_array[i], in gss_inquire_cred_by_oid()
H A Dg_inq_cred.c77 mech_cred = union_cred->cred_array[0]; in gss_inquire_cred()
H A Dg_glue.c454 return union_cred->cred_array[i]; in gssint_get_mechanism_cred()
H A DmglueP.h64 gss_cred_id_t *cred_array; member