From 5222196a6018fa5a6b47c2f5492ff2762a9a7c27 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: May 16 2013 10:04:23 +0000 Subject: Neutralize gssi_export_name. We do not want to generate an exported name buffer. Let's the mechglue code in MIT generate it for use from the display name. Signed-off-by: Simo Sorce Reviewed-by: Günther Deschner --- 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,