Apply patch from Arlene Berry to cease freeing error tokens output by
authorTom Yu <tlyu@mit.edu>
Thu, 22 Apr 2010 20:04:01 +0000 (20:04 +0000)
committerTom Yu <tlyu@mit.edu>
Thu, 22 Apr 2010 20:04:01 +0000 (20:04 +0000)
accept_sec_context, allowing them to actually be sent to the
initiator.

ticket: 6696
target_version: 1.8.2
tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23925 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/gssapi/mechglue/g_accept_sec_context.c

index b4b152551c34eee7f68e1e631bc1951658571e05..498bfc4569dac3fc11165db1e313f91c2cdcc618 100644 (file)
@@ -356,9 +356,6 @@ error_out:
        free(union_ctx_id);
     }
 
-    if (output_token->length)
-       (void) gss_release_buffer(&temp_minor_status, output_token);
-
     if (src_name)
        *src_name = GSS_C_NO_NAME;