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-48-g9dd6672


From: Simon Josefsson
Subject: [SCM] GNU gsasl branch, master, updated. gsasl-1-4-1-48-g9dd6672
Date: Wed, 17 Mar 2010 13:06:54 +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=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 <address@hidden>
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




reply via email to

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