diff options
author | Simo Sorce <simo@redhat.com> | 2013-05-15 11:10:01 -0400 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2013-05-16 06:04:23 -0400 |
commit | 5222196a6018fa5a6b47c2f5492ff2762a9a7c27 (patch) | |
tree | eeeec5ffee3e9bb62a6207b8df58cbba9a66fd85 | |
parent | a4a2761bbc644e400d1154544e0918f0f9a1caff (diff) | |
download | gss-proxy-5222196a6018fa5a6b47c2f5492ff2762a9a7c27.tar.gz gss-proxy-5222196a6018fa5a6b47c2f5492ff2762a9a7c27.tar.xz gss-proxy-5222196a6018fa5a6b47c2f5492ff2762a9a7c27.zip |
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 <simo@redhat.com>
Reviewed-by: Günther Deschner <gdeschner@redhat.com>
-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, |