Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libgss/
H A Doid_ops.c129 gss_OID_set *oid_set;
134 if (oid_set == NULL)
149 gss_OID_set *oid_set;
161 if (oid_set == NULL)
164 elist = (*oid_set)->elements;
166 if (((*oid_set)->elements = (gss_OID) malloc(((*oid_set)->count+1) *
170 (void) memcpy((*oid_set)->elements, elist,
174 lastel = &(*oid_set)->elements[(*oid_set)->count];
185 (*oid_set)->count++;
190 free((*oid_set)->elements);
[all …]
H A Dg_oid_ops.c42 gss_create_empty_oid_set(minor_status, oid_set) in gss_create_empty_oid_set() argument
44 gss_OID_set *oid_set;
47 status = generic_gss_create_empty_oid_set(minor_status, oid_set);
54 gss_add_oid_set_member(minor_status, member_oid, oid_set) in gss_add_oid_set_member() argument
57 gss_OID_set *oid_set;
61 oid_set);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Doid_ops.c115 gss_OID_set *oid_set;
120 memset(*oid_set, 0, sizeof(gss_OID_set_desc));
133 gss_OID_set *oid_set;
144 elist = (*oid_set)->elements;
146 if (((*oid_set)->elements = (gss_OID) malloc(((*oid_set)->count+1) *
150 memcpy((*oid_set)->elements,
152 ((*oid_set)->count * sizeof(gss_OID_desc)));
155 lastel = &(*oid_set)->elements[(*oid_set)->count];
165 (*oid_set)->count++;
172 free((*oid_set)->elements);
[all …]
H A Dkrb5_gss_glue.c626 k5glue_add_oid_set_member(ctx, minor_status, member_oid, oid_set)
630 gss_OID_set *oid_set;
632 return(generic_gss_add_oid_set_member(minor_status, member_oid, oid_set));
662 k5glue_create_empty_oid_set(ctx, minor_status, oid_set)
665 gss_OID_set *oid_set;
667 return(generic_gss_create_empty_oid_set(minor_status, oid_set));
/illumos-gate/usr/src/lib/rpcsec_gss/
H A Dsvc_rpcsec_gss.c130 gss_OID_set oid_set; member
1426 gss_OID_set oid_set; in __rpc_gss_set_svc_name() local
1449 &oid_set, NULL, &ret_time); in __rpc_gss_set_svc_name()
1456 gss_release_oid_set(&minor, &svc_cred->oid_set); in __rpc_gss_set_svc_name()
1457 svc_cred->oid_set = oid_set; in __rpc_gss_set_svc_name()
1485 GSS_C_ACCEPT, &svc_cred->cred, &oid_set, &ret_time); in __rpc_gss_set_svc_name()
1498 svc_cred->oid_set = oid_set; in __rpc_gss_set_svc_name()
1523 gss_OID_set oid_set; in rpc_gss_refresh_svc_cred() local
1529 svc_cred->oid_set, GSS_C_ACCEPT, &svc_cred->cred, &oid_set, in rpc_gss_refresh_svc_cred()
1534 gss_release_oid_set(&minor, &svc_cred->oid_set); in rpc_gss_refresh_svc_cred()
[all …]
/illumos-gate/usr/src/cmd/gss/gssd/
H A Dgssdtest.c1762 gss_OID_set oid_set = GSS_C_NULL_OID_SET; local
1774 status = kgss_indicate_mechs(&minor_status, &oid_set, uid);
1780 printf(gettext("%d supported mechanism%s%s\n"), oid_set->count,
1781 (oid_set->count == 1) ? "" : "s",
1782 (oid_set->count > 0) ? ":" : "");
1784 for (i = 0; i < oid_set->count; i++) {
1785 string = gss_oid2str(&oid_set->elements[i]);
1787 FREE(string, ((oid_set->elements[i].length+1)*4)+1);
1796 if (oid_set)
1797 gss_release_oid_set_and_oids(&minor_status, &oid_set);
H A Dgssd_proc.c2153 gss_OID_set oid_set; local
2173 res->status = gss_indicate_mechs(&res->minor_status, &oid_set);
2178 res->mech_set.GSS_OID_SET_len = oid_set->count;
2180 malloc(oid_set->count * sizeof (GSS_OID));
2184 for (i = 0; i < oid_set->count; i++) {
2186 oid_set->elements[i].length;
2188 (char *)malloc(oid_set->elements[i].length);
2198 oid_set->elements[i].elements,
2199 oid_set->elements[i].length);
/illumos-gate/usr/src/lib/krb5/kadm5/clnt/
H A Dclient_init.c319 gss_OID_set_desc oid_set; in _kadm5_initialize_rpcsec_gss_handle() local
488 oid_set.count = 1; in _kadm5_initialize_rpcsec_gss_handle()
489 oid_set.elements = mech_oid; in _kadm5_initialize_rpcsec_gss_handle()
492 &oid_set, GSS_C_INITIATE, in _kadm5_initialize_rpcsec_gss_handle()