diff options
author | Simo Sorce <simo@redhat.com> | 2012-08-14 15:19:31 +0200 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2012-08-31 16:26:38 -0400 |
commit | 5e8684a6ce97f0c6f63939a4955fbe1e698e0300 (patch) | |
tree | 6b58ffdbfc3dff008b06dbd73297a9ba4035fdc4 /proxy | |
parent | 8b267bbca24dbeca088190c6ee40056042ebc932 (diff) | |
download | gss-proxy-5e8684a6ce97f0c6f63939a4955fbe1e698e0300.tar.gz gss-proxy-5e8684a6ce97f0c6f63939a4955fbe1e698e0300.tar.xz gss-proxy-5e8684a6ce97f0c6f63939a4955fbe1e698e0300.zip |
Always return a minor_status
Diffstat (limited to 'proxy')
-rw-r--r-- | proxy/src/mechglue/gpm_import_and_canon_name.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/proxy/src/mechglue/gpm_import_and_canon_name.c b/proxy/src/mechglue/gpm_import_and_canon_name.c index accf5e2..5301d60 100644 --- a/proxy/src/mechglue/gpm_import_and_canon_name.c +++ b/proxy/src/mechglue/gpm_import_and_canon_name.c @@ -331,6 +331,8 @@ OM_uint32 gpm_inquire_name(OM_uint32 *minor_status, OM_uint32 gpm_release_name(OM_uint32 *minor_status, gss_name_t *input_name) { + *minor_status = 0; + if (*input_name != GSS_C_NO_NAME) { xdr_free((xdrproc_t)xdr_gssx_name, (char *)(*input_name)); free(*input_name); |