diff options
| author | Tom Yu <tlyu@mit.edu> | 2006-06-21 22:25:19 +0000 |
|---|---|---|
| committer | Tom Yu <tlyu@mit.edu> | 2006-06-21 22:25:19 +0000 |
| commit | 9f842b34ae3503e72d536eb70322de008645196e (patch) | |
| tree | a58ca9babd7f5b9919c1c30faa0f183432232690 /src/lib/gssapi/mechglue/g_initialize.c | |
| parent | 94491e66291bc726270cca72229ca606160e3aa1 (diff) | |
| download | krb5-9f842b34ae3503e72d536eb70322de008645196e.tar.gz krb5-9f842b34ae3503e72d536eb70322de008645196e.tar.xz krb5-9f842b34ae3503e72d536eb70322de008645196e.zip | |
remove unimplemented/unused mechglue functions
* src/lib/gssapi/mechglue/Makefile.in (SRCS, STLIBOBJS): Delete
g_userok, gssd_pname_to_uid.
* src/lib/gssapi/mechglue/mechglue.h: Delete gssd_pname_to_uid,
gss_initialize.
* src/lib/gssapi/mechglue/mglueP.h: Delete gssint_userok,
gssd_pname_to_uid, gssint_get_mechanism_ext,
gss_acquire_cred_with_password_sfct, gss_mechanism_ext.
* src/lib/gssapi/g_userok.c:
* src/lib/gssapi/g_indicate_mechs.c:
* src/lib/gssapi/gen_oids.c:
* src/lib/gssapi/gssd_pname_to_uid: Delete.
* src/lib/gssapi/mechglue/g_initialize.c: Delete
gssint_get_mechanism_ext.
ticket: new
target_version: 1.5
tags: pullup
component: krb5-libs
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18187 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/gssapi/mechglue/g_initialize.c')
| -rw-r--r-- | src/lib/gssapi/mechglue/g_initialize.c | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/src/lib/gssapi/mechglue/g_initialize.c b/src/lib/gssapi/mechglue/g_initialize.c index 2167756275..2c6890720b 100644 --- a/src/lib/gssapi/mechglue/g_initialize.c +++ b/src/lib/gssapi/mechglue/g_initialize.c @@ -666,58 +666,6 @@ const gss_OID oid; return (aMech->mech); } /* gssint_get_mechanism */ -gss_mechanism_ext -gssint_get_mechanism_ext(oid) -const gss_OID oid; -{ - gss_mech_info aMech; - gss_mechanism_ext mech_ext; - - /* check if the mechanism is already loaded */ - if ((aMech = searchMechList(oid)) != NULL && aMech->mech_ext != NULL) - return (aMech->mech_ext); - - if (gssint_get_mechanism(oid) == NULL) - return (NULL); - - if (aMech->dl_handle == NULL) - return (NULL); - - /* Load the gss_config_ext struct for this mech */ - - mech_ext = (gss_mechanism_ext)malloc(sizeof (struct gss_config_ext)); - - if (mech_ext == NULL) - return (NULL); - - /* - * dlsym() the mech's 'method' functions for the extended APIs - * - * NOTE: Until the void *context argument is removed from the - * SPI method functions' signatures it will be necessary to have - * different function pointer typedefs and function names for - * the SPI methods than for the API. When this argument is - * removed it will be possible to rename gss_*_sfct to gss_*_fct - * and and gssspi_* to gss_*. - */ - mech_ext->gss_acquire_cred_with_password = - (gss_acquire_cred_with_password_sfct)dlsym(aMech->dl_handle, - "gssspi_acquire_cred_with_password"); - - /* Set aMech->mech_ext */ - (void) k5_mutex_lock(&g_mechListLock); - - if (aMech->mech_ext == NULL) - aMech->mech_ext = mech_ext; - else - free(mech_ext); /* we raced and lost; don't leak */ - - (void) k5_mutex_unlock(&g_mechListLock); - - return (aMech->mech_ext); - -} /* gssint_get_mechanism_ext */ - /* * this routine is used for searching the list of mechanism data. |
