summaryrefslogtreecommitdiffstats
path: root/src/lib/gssapi/spnego
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2012-08-06 16:11:17 -0400
committerGreg Hudson <ghudson@mit.edu>2012-08-08 14:01:05 -0400
commit997282ac3ecab3f9e56b96ae4cb53ab83bec2dac (patch)
tree2ca3aea77fea1e01019362313ba0360000b85bcc /src/lib/gssapi/spnego
parent98d2c88615ebbaf2012d54a2e17aa3863ba4b7f6 (diff)
Remove gss_mechanism_ext
This function did not serve any useful purpose. Remove it and the special case it creates; move the only function it contained to the main gss_mechanism structure where it belongs. Note that the function name is preserved so that loadable modules are not affected by this change.
Diffstat (limited to 'src/lib/gssapi/spnego')
-rw-r--r--src/lib/gssapi/spnego/spnego_mech.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/lib/gssapi/spnego/spnego_mech.c b/src/lib/gssapi/spnego/spnego_mech.c
index 0038043b7..c5c995b99 100644
--- a/src/lib/gssapi/spnego/spnego_mech.c
+++ b/src/lib/gssapi/spnego/spnego_mech.c
@@ -276,10 +276,6 @@ static struct gss_config spnego_mechanism =
spnego_gss_inquire_attrs_for_mech,
spnego_gss_acquire_cred_from,
NULL, /* gss_store_cred_into */
-};
-
-static struct gss_config_ext spnego_mechanism_ext =
-{
spnego_gss_acquire_cred_with_password
};
@@ -292,7 +288,6 @@ static int gss_spnegomechglue_init(void)
memset(&mech_spnego, 0, sizeof(mech_spnego));
mech_spnego.mech = &spnego_mechanism;
- mech_spnego.mech_ext = &spnego_mechanism_ext;
mech_spnego.mechNameStr = "spnego";
mech_spnego.mech_type = GSS_C_NO_OID;