gsasl-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU gsasl branch, master, updated. gsasl-1-4-1-17-g4f64baf


From: Simon Josefsson
Subject: [SCM] GNU gsasl branch, master, updated. gsasl-1-4-1-17-g4f64baf
Date: Mon, 08 Mar 2010 15:02:53 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU gsasl".

http://git.savannah.gnu.org/cgit/gsasl.git/commit/?id=4f64bafbf88c1de15a0eccf0d503f1c361e95c21

The branch, master has been updated
       via  4f64bafbf88c1de15a0eccf0d503f1c361e95c21 (commit)
      from  2b2720392a2ec397ee47df3d28a4c3d4a4ef022a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 4f64bafbf88c1de15a0eccf0d503f1c361e95c21
Author: Simon Josefsson <address@hidden>
Date:   Mon Mar 8 16:02:46 2010 +0100

    Send token properly.

-----------------------------------------------------------------------

Summary of changes:
 lib/gs2/server.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/lib/gs2/server.c b/lib/gs2/server.c
index c550954..34e9a8a 100644
--- a/lib/gs2/server.c
+++ b/lib/gs2/server.c
@@ -159,6 +159,12 @@ _gsasl_gs2_server_step (Gsasl_session * sctx,
       if (maj_stat != GSS_S_COMPLETE && maj_stat != GSS_S_CONTINUE_NEEDED)
        return GSASL_GSSAPI_ACCEPT_SEC_CONTEXT_ERROR;
 
+      *output = malloc (bufdesc2.length);
+      if (!*output)
+       return GSASL_MALLOC_ERROR;
+      memcpy (*output, bufdesc2.value, bufdesc2.length);
+      *output_len = bufdesc2.length;
+
       maj_stat = gss_release_buffer (&min_stat, &bufdesc2);
       if (GSS_ERROR (maj_stat))
        return GSASL_GSSAPI_RELEASE_BUFFER_ERROR;


hooks/post-receive
-- 
GNU gsasl




reply via email to

[Prev in Thread] Current Thread [Next in Thread]