gss: remove gss_get_instance()
This commit is contained in:

committed by
Jeffrey Altman

parent
301b7ce711
commit
69973757ce
@@ -523,8 +523,6 @@ altsecid_gss_preauth_authorizer_get_instance(const char *libname)
|
||||
return krb5_get_instance(libname);
|
||||
if (strcmp(libname, "kdc") == 0)
|
||||
return kdc_get_instance(libname);
|
||||
if (strcmp(libname, "gssapi") == 0)
|
||||
return gss_get_instance(libname);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@@ -302,8 +302,6 @@ kdc_get_instance(const char *libname)
|
||||
return hdb_get_instance(libname);
|
||||
else if (strcmp(libname, "krb5") == 0)
|
||||
return krb5_get_instance(libname);
|
||||
else if (strcmp(libname, "gssapi") == 0)
|
||||
return gss_get_instance(libname);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@@ -304,8 +304,6 @@ negotiate_get_instance(const char *libname)
|
||||
{
|
||||
if (strcmp(libname, "krb5") == 0)
|
||||
return krb5_get_instance(libname);
|
||||
else if (strcmp(libname, "gssapi") == 0)
|
||||
return gss_get_instance(libname);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@@ -1253,9 +1253,6 @@ GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_destroy_cred(OM_uint32 *minor_status,
|
||||
gss_cred_id_t *cred_handle);
|
||||
|
||||
GSSAPI_LIB_FUNCTION uintptr_t GSSAPI_CALLCONV
|
||||
gss_get_instance(const char *libname);
|
||||
|
||||
/*
|
||||
* S4UProxy and S4USelf extensions.
|
||||
*/
|
||||
|
@@ -42,7 +42,6 @@ EXPORTS
|
||||
gss_export_name
|
||||
gss_export_name_composite
|
||||
gss_export_sec_context
|
||||
gss_get_instance
|
||||
gss_get_mic
|
||||
gss_get_neg_mechs
|
||||
gss_get_name_attribute
|
||||
|
@@ -583,16 +583,3 @@ gss_oid_to_name(gss_const_OID oid)
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
GSSAPI_LIB_FUNCTION uintptr_t GSSAPI_CALLCONV
|
||||
gss_get_instance(const char *libname)
|
||||
{
|
||||
static const char *instance = "libgssapi";
|
||||
|
||||
if (strcmp(libname, "gssapi") == 0)
|
||||
return (uintptr_t)instance;
|
||||
else if (strcmp(libname, "krb5") == 0)
|
||||
return krb5_get_instance(libname);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@@ -45,7 +45,6 @@ HEIMDAL_GSS_2.0 {
|
||||
gss_export_name;
|
||||
gss_export_name_composite;
|
||||
gss_export_sec_context;
|
||||
gss_get_instance;
|
||||
gss_get_mic;
|
||||
gss_get_neg_mechs;
|
||||
gss_get_name_attribute;
|
||||
|
Reference in New Issue
Block a user