diff options
Diffstat (limited to 'proxy/src')
-rw-r--r-- | proxy/src/mechglue/gpm_common.c | 11 | ||||
-rw-r--r-- | proxy/src/mechglue/gpm_import_and_canon_name.c | 10 |
2 files changed, 10 insertions, 11 deletions
diff --git a/proxy/src/mechglue/gpm_common.c b/proxy/src/mechglue/gpm_common.c index 22b3449..16ea7d6 100644 --- a/proxy/src/mechglue/gpm_common.c +++ b/proxy/src/mechglue/gpm_common.c @@ -336,17 +336,6 @@ static void gpm_release_ctx(struct gpm_ctx *gpmctx) gpm_release_sock(gpmctx); } -OM_uint32 gpm_release_name(OM_uint32 *minor_status, - gss_name_t *input_name) -{ - if (*input_name != GSS_C_NO_NAME) { - xdr_free((xdrproc_t)xdr_gssx_name, (char *)(*input_name)); - free(*input_name); - *input_name = GSS_C_NO_NAME; - } - return GSS_S_COMPLETE; -} - OM_uint32 gpm_release_buffer(OM_uint32 *minor_status, gss_buffer_t buffer) { diff --git a/proxy/src/mechglue/gpm_import_and_canon_name.c b/proxy/src/mechglue/gpm_import_and_canon_name.c index 4185b50..accf5e2 100644 --- a/proxy/src/mechglue/gpm_import_and_canon_name.c +++ b/proxy/src/mechglue/gpm_import_and_canon_name.c @@ -328,3 +328,13 @@ OM_uint32 gpm_inquire_name(OM_uint32 *minor_status, return GSS_S_COMPLETE; } +OM_uint32 gpm_release_name(OM_uint32 *minor_status, + gss_name_t *input_name) +{ + if (*input_name != GSS_C_NO_NAME) { + xdr_free((xdrproc_t)xdr_gssx_name, (char *)(*input_name)); + free(*input_name); + *input_name = GSS_C_NO_NAME; + } + return GSS_S_COMPLETE; +} |