Lines Matching refs:actual_mechs
350 gss_OID_set actual_mechs; local
368 res->actual_mechs.GSS_OID_SET_val = NULL;
464 &actual_mechs,
487 if (actual_mechs != GSS_C_NULL_OID_SET) {
488 res->actual_mechs.GSS_OID_SET_len =
489 (uint_t)actual_mechs->count;
490 res->actual_mechs.GSS_OID_SET_val = (GSS_OID *)
491 malloc(sizeof (GSS_OID) * actual_mechs->count);
492 if (!res->actual_mechs.GSS_OID_SET_val) {
502 for (i = 0; i < actual_mechs->count; i++) {
503 res->actual_mechs.GSS_OID_SET_val[i].GSS_OID_len =
504 (uint_t)actual_mechs->elements[i].length;
505 res->actual_mechs.GSS_OID_SET_val[i].GSS_OID_val =
506 (char *)malloc(actual_mechs->elements[i].
508 if (!res->actual_mechs.GSS_OID_SET_val[i].GSS_OID_val) {
516 free(res->actual_mechs.GSS_OID_SET_val);
519 (res->actual_mechs.
524 memcpy(res->actual_mechs.GSS_OID_SET_val[i].GSS_OID_val,
525 actual_mechs->elements[i].elements,
526 actual_mechs->elements[i].length);
529 res->actual_mechs.GSS_OID_SET_len = 0;
560 if (actual_mechs != GSS_C_NULL_OID_SET) {
561 for (i = 0; i < actual_mechs->count; i++)
562 free(actual_mechs->elements[i].elements);
563 free(actual_mechs->elements);
564 free(actual_mechs);
594 gss_OID_set actual_mechs; local
605 res->actual_mechs.GSS_OID_SET_len = 0;
606 res->actual_mechs.GSS_OID_SET_val = NULL;
694 &actual_mechs,
706 if (actual_mechs != GSS_C_NULL_OID_SET) {
707 res->actual_mechs.GSS_OID_SET_len =
708 (uint_t)actual_mechs->count;
709 res->actual_mechs.GSS_OID_SET_val = (GSS_OID *)
710 malloc(sizeof (GSS_OID) * actual_mechs->count);
711 if (!res->actual_mechs.GSS_OID_SET_val) {
716 for (i = 0; i < actual_mechs->count; i++) {
717 res->actual_mechs.GSS_OID_SET_val[i].GSS_OID_len =
718 (uint_t)actual_mechs->elements[i].length;
719 res->actual_mechs.GSS_OID_SET_val[i].GSS_OID_val =
720 (char *)malloc(actual_mechs->elements[i].
722 if (!res->actual_mechs.GSS_OID_SET_val[i].GSS_OID_val) {
725 free(res->actual_mechs.GSS_OID_SET_val);
728 (res->actual_mechs.
733 memcpy(res->actual_mechs.GSS_OID_SET_val[i].GSS_OID_val,
734 actual_mechs->elements[i].elements,
735 actual_mechs->elements[i].length);
738 res->actual_mechs.GSS_OID_SET_len = 0;
747 gss_release_oid_set(&minor_status, &actual_mechs);