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=9dd66728280d38a478c4d2c5e015b435b9297145

The branch, master has been updated
       via  9dd66728280d38a478c4d2c5e015b435b9297145 (commit)
      from  7a3771853ec5fda506f89da259ec62d0c0dd389d (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 9dd66728280d38a478c4d2c5e015b435b9297145
Author: Simon Josefsson <[email protected]>
Date:   Wed Mar 17 14:06:50 2010 +0100

    Check mutual in ret_flags.

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

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 43d7110..f8e4aeb 100644
--- a/lib/gs2/server.c
+++ b/lib/gs2/server.c
@@ -281,6 +281,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;
 
+      if (maj_stat == GSS_S_COMPLETE)
+       {
+         if (!(ret_flags & GSS_C_MUTUAL_FLAG))
+           return GSASL_MECHANISM_PARSE_ERROR;
+       }
+
       if (free_bufdesc1)
        {
          maj_stat = gss_release_buffer (&min_stat, &bufdesc1);


hooks/post-receive
-- 
GNU gsasl


_______________________________________________
Gsasl-commit mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gsasl-commit

Reply via email to