gss: remove superfluous SPNEGO cred wrappers
SPNEGO credentials are mechglue credentials. SPNEGO credential wrapper functions can be replaced with direct calls into the mechglue, unless a specific check is required to avoid infinite recursion (as is the case where the mechglue enumerates all mechanism when passed a null credential handle).
This commit is contained in:
@@ -90,7 +90,7 @@ static gssapi_mech_interface_desc spnego_mech = {
|
||||
{6, rk_UNCONST("\x2b\x06\x01\x05\x05\x02") },
|
||||
0,
|
||||
NULL, /* gm_acquire_cred */
|
||||
_gss_spnego_release_cred,
|
||||
gss_release_cred,
|
||||
_gss_spnego_init_sec_context,
|
||||
_gss_spnego_accept_sec_context,
|
||||
_gss_spnego_process_context_token,
|
||||
@@ -119,7 +119,7 @@ static gssapi_mech_interface_desc spnego_mech = {
|
||||
_gss_spnego_canonicalize_name,
|
||||
_gss_spnego_duplicate_name,
|
||||
_gss_spnego_inquire_sec_context_by_oid,
|
||||
_gss_spnego_inquire_cred_by_oid,
|
||||
gss_inquire_cred_by_oid,
|
||||
_gss_spnego_set_sec_context_option,
|
||||
_gss_spnego_set_cred_option,
|
||||
_gss_spnego_pseudo_random,
|
||||
@@ -127,8 +127,8 @@ static gssapi_mech_interface_desc spnego_mech = {
|
||||
_gss_spnego_unwrap_iov,
|
||||
_gss_spnego_wrap_iov_length,
|
||||
NULL,
|
||||
_gss_spnego_export_cred,
|
||||
_gss_spnego_import_cred,
|
||||
gss_export_cred,
|
||||
gss_import_cred,
|
||||
_gss_spnego_acquire_cred_from,
|
||||
NULL,
|
||||
NULL,
|
||||
|
Reference in New Issue
Block a user