40 gss_buffer_desc sasl_mech_name;
41 OM_uint32 maj_stat, min_stat;
44 if (!sasl_mech_name.value)
46 sasl_mech_name.length = strlen (sasl_mech_name.value);
48 maj_stat = gss_inquire_mech_for_saslname (&min_stat, &sasl_mech_name,
50 if (GSS_ERROR (maj_stat))
int gs2_get_oid(Gsasl_session *sctx, gss_OID *mech_oid)
@ GSASL_GSSAPI_INQUIRE_MECH_FOR_SASLNAME_ERROR
@ GSASL_AUTHENTICATION_ERROR
_GSASL_API const char * gsasl_mechanism_name(Gsasl_session *sctx)