summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--proxy/src/mechglue/gpp_acquire_cred.c3
-rw-r--r--proxy/src/mechglue/gpp_context.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/proxy/src/mechglue/gpp_acquire_cred.c b/proxy/src/mechglue/gpp_acquire_cred.c
index 43eca8c..a3290dd 100644
--- a/proxy/src/mechglue/gpp_acquire_cred.c
+++ b/proxy/src/mechglue/gpp_acquire_cred.c
@@ -317,9 +317,8 @@ OM_uint32 gssi_acquire_cred_with_password(OM_uint32 *minor_status,
case GPP_REMOTE_ONLY:
/* FIXME: not currently available */
- return GSS_S_UNAVAILABLE;
- break;
+ /* fall through for now */
default:
maj = GSS_S_FAILURE;
diff --git a/proxy/src/mechglue/gpp_context.c b/proxy/src/mechglue/gpp_context.c
index 448c3e0..914edc8 100644
--- a/proxy/src/mechglue/gpp_context.c
+++ b/proxy/src/mechglue/gpp_context.c
@@ -266,6 +266,8 @@ done:
if (maj == GSS_S_COMPLETE) {
if (mech_type) {
*mech_type = mech_oid;
+ } else {
+ (void)gss_release_oid(&min, &mech_oid);
}
if (src_name) {
*src_name = (gss_name_t)s_name;