/illumos-gate/usr/src/lib/libgss/ |
H A D | oid_ops.c | 127 generic_gss_create_empty_oid_set(minor_status, oid_set) in generic_gss_create_empty_oid_set() argument 129 gss_OID_set *oid_set; 134 if (oid_set == NULL) 137 if ((*oid_set = (gss_OID_set) malloc(sizeof (gss_OID_set_desc)))) { 138 (void) memset(*oid_set, 0, sizeof (gss_OID_set_desc)); 146 generic_gss_add_oid_set_member(minor_status, member_oid, oid_set) in generic_gss_add_oid_set_member() argument 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) * [all …]
|
H A D | g_oid_ops.c | 42 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 D | oid_ops.c | 113 generic_gss_create_empty_oid_set(minor_status, oid_set) in generic_gss_create_empty_oid_set() argument 115 gss_OID_set *oid_set; 119 if ((*oid_set = (gss_OID_set) malloc(sizeof(gss_OID_set_desc)))) { 120 memset(*oid_set, 0, sizeof(gss_OID_set_desc)); 130 generic_gss_add_oid_set_member(minor_status, member_oid, oid_set) in generic_gss_add_oid_set_member() argument 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))); [all …]
|
H A D | krb5_gss_glue.c | 626 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 D | svc_rpcsec_gss.c | 130 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 D | gssdtest.c | 1762 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 D | gssd_proc.c | 2153 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 D | client_init.c | 319 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()
|