Home
last modified time | relevance | path

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

/freebsd/crypto/heimdal/lib/gssapi/spnego/
H A Dcompat.c241 gss_OID_set supported_mechs = GSS_C_NO_OID_SET; in _gss_spnego_indicate_mechtypelist() local
255 &supported_mechs); in _gss_spnego_indicate_mechtypelist()
257 ret = gss_indicate_mechs(minor_status, &supported_mechs); in _gss_spnego_indicate_mechtypelist()
264 if (supported_mechs->count == 0) { in _gss_spnego_indicate_mechtypelist()
266 gss_release_oid_set(minor_status, &supported_mechs); in _gss_spnego_indicate_mechtypelist()
280 for (i = 0; i < supported_mechs->count; i++) { in _gss_spnego_indicate_mechtypelist()
282 if (gss_oid_equal(&supported_mechs->elements[i], GSS_SPNEGO_MECHANISM)) in _gss_spnego_indicate_mechtypelist()
284 if (gss_oid_equal(&supported_mechs->elements[i], GSS_KRB5_MECHANISM)) in _gss_spnego_indicate_mechtypelist()
287 subret = (*func)(target_name, &supported_mechs->elements[i]); in _gss_spnego_indicate_mechtypelist()
291 ret = add_mech_type(&supported_mechs->elements[i], in _gss_spnego_indicate_mechtypelist()
[all …]
/freebsd/crypto/openssh/
H A Dgss-serv.c63 ssh_gssapi_mech* supported_mechs[]= { variable
155 while (supported_mechs[i]->name != NULL) { in ssh_gssapi_supported_oids()
157 &supported_mechs[i]->oid, supported, &present))) in ssh_gssapi_supported_oids()
161 &supported_mechs[i]->oid, oidset); in ssh_gssapi_supported_oids()
284 while (supported_mechs[i]->name != NULL) { in ssh_gssapi_getclient()
285 if (supported_mechs[i]->oid.length == ctx->oid->length && in ssh_gssapi_getclient()
286 (memcmp(supported_mechs[i]->oid.elements, in ssh_gssapi_getclient()
288 client->mech = supported_mechs[i]; in ssh_gssapi_getclient()
H A Dssh-gss.h100 extern ssh_gssapi_mech *supported_mechs[];