diff options
-rw-r--r-- | proxy/src/mechglue/gpp_import_and_canon_name.c | 24 |
1 files changed, 2 insertions, 22 deletions
diff --git a/proxy/src/mechglue/gpp_import_and_canon_name.c b/proxy/src/mechglue/gpp_import_and_canon_name.c index 2ebd335..b3724bd 100644 --- a/proxy/src/mechglue/gpp_import_and_canon_name.c +++ b/proxy/src/mechglue/gpp_import_and_canon_name.c @@ -146,29 +146,9 @@ done: return maj; } -OM_uint32 gssi_export_name(OM_uint32 *minor_status, +/* OM_uint32 gssi_export_name(OM_uint32 *minor_status, const gss_name_t input_name, - gss_buffer_t exported_name) -{ - struct gpp_name_handle *name; - OM_uint32 maj, min = 0; - - GSSI_TRACE(); - - name = (struct gpp_name_handle *)input_name; - if (!name->local && !name->remote) { - return GSS_S_BAD_NAME; - } - - if (name->local) { - maj = gss_export_name(&min, name->local, exported_name); - } else { - maj = gpm_export_name(&min, name->remote, exported_name); - } - - *minor_status = gpp_map_error(min); - return maj; -} + gss_buffer_t exported_name) */ OM_uint32 gssi_export_name_composite(OM_uint32 *minor_status, const gss_name_t input_name, |