Lines Matching refs:union_cred

337 	gss_union_cred_t	union_cred, new_union_cred;  local
365 union_cred = malloc(sizeof (gss_union_cred_desc));
366 if (union_cred == NULL)
369 (void) memset(union_cred, 0, sizeof (gss_union_cred_desc));
372 union_cred = (gss_union_cred_t)input_cred_handle;
374 if (__gss_get_mechanism_cred(union_cred, desired_mech) !=
386 &union_cred->auxinfo.name,
387 union_cred->auxinfo.name_type,
437 if (union_cred->auxinfo.creation_time == 0) {
438 union_cred->auxinfo.creation_time = time(NULL);
439 union_cred->auxinfo.time_rec = time_rec;
440 union_cred->auxinfo.cred_usage = cred_usage;
449 &union_cred->auxinfo.name,
450 &union_cred->auxinfo.name_type)) !=
458 malloc(sizeof (gss_OID_desc) * (union_cred->count+1));
461 malloc(sizeof (gss_cred_id_t) * (union_cred->count+1));
478 (void) memcpy(new_mechs_array, union_cred->mechs_array,
479 sizeof (gss_OID_desc) * union_cred->count);
480 (void) memcpy(new_cred_array, union_cred->cred_array,
481 sizeof (gss_cred_id_t) * union_cred->count);
483 new_cred_array[union_cred->count] = cred;
484 if ((new_mechs_array[union_cred->count].elements =
488 g_OID_copy(&new_mechs_array[union_cred->count],
493 union_cred->count + 1);
495 free(new_mechs_array[union_cred->count].elements);
501 free(union_cred->mechs_array);
502 free(union_cred->cred_array);
503 new_union_cred = union_cred;
507 free(new_mechs_array[union_cred->count].elements);
510 *new_union_cred = *union_cred;
542 if (input_cred_handle == GSS_C_NO_CREDENTIAL && union_cred) {
543 if (union_cred->auxinfo.name.value)
544 free(union_cred->auxinfo.name.value);
545 free(union_cred);