Home
last modified time | relevance | path

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

/src/crypto/krb5/src/lib/gssapi/mechglue/
H A Dg_acquire_cred.c329 gss_union_cred_t ncred = NULL; in copy_union_cred() local
333 ncred = calloc(1, sizeof (*ncred)); in copy_union_cred()
334 if (ncred == NULL) in copy_union_cred()
336 ncred->mechs_array = calloc(cred->count, sizeof (*ncred->mechs_array)); in copy_union_cred()
337 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()
340 ncred->count = cred->count; in copy_union_cred()
344 ncred->mechs_array[i].elements = malloc(cred->mechs_array[i].length); in copy_union_cred()
345 if (ncred->mechs_array[i].elements == NULL) in copy_union_cred()
347 g_OID_copy(&ncred->mechs_array[i], &cred->mechs_array[i]); in copy_union_cred()
[all …]