gnutls-commit
[Top][All Lists]
Advanced

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

[SCM] GNU gnutls branch, gnutls_2_12_x, updated. gnutls_2_11_7-5-g90e377


From: Nikos Mavrogiannopoulos
Subject: [SCM] GNU gnutls branch, gnutls_2_12_x, updated. gnutls_2_11_7-5-g90e377f
Date: Sat, 12 Mar 2011 10:39:35 +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 gnutls".

http://git.savannah.gnu.org/cgit/gnutls.git/commit/?id=90e377f3a58149cfa9bca884af70732683b170c7

The branch, gnutls_2_12_x has been updated
       via  90e377f3a58149cfa9bca884af70732683b170c7 (commit)
      from  a5b4a5258f03de2e66f8cf0d019be6353d69c4ad (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 90e377f3a58149cfa9bca884af70732683b170c7
Author: Nikos Mavrogiannopoulos <address@hidden>
Date:   Sat Mar 12 11:37:58 2011 +0100

    corrected ssl3 record version sending in client hello.

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

Summary of changes:
 NEWS                   |    2 ++
 lib/gnutls_handshake.c |    2 +-
 lib/gnutls_int.h       |    2 +-
 lib/gnutls_priority.c  |    4 ++--
 4 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/NEWS b/NEWS
index 949b2b3..6b50260 100644
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,8 @@ See the end for copying conditions.
 
 * Version 2.xx.y (unreleased)
 
+** libgnutls: Corrected default behavior in record version of Client Hellos.
+
 ** libgnutls-openssl: modified to use modern gnutls' functions.
 This introduces an ABI incompatibility with previous versions.
 
diff --git a/lib/gnutls_handshake.c b/lib/gnutls_handshake.c
index 6e78a4d..f427a0d 100644
--- a/lib/gnutls_handshake.c
+++ b/lib/gnutls_handshake.c
@@ -2078,7 +2078,7 @@ _gnutls_send_client_hello (gnutls_session_t session, int 
again)
       _gnutls_set_adv_version (session, hver);
       _gnutls_set_current_version (session, hver);
 
-      if (session->internals.priorities.no_ssl3_record_version != 0)
+      if (session->internals.priorities.ssl3_record_version != 0)
         {
           /* Advertize the SSL 3.0 record packet version in
            * record packets during the handshake.
diff --git a/lib/gnutls_int.h b/lib/gnutls_int.h
index 19b6ed7..f41f7cf 100644
--- a/lib/gnutls_int.h
+++ b/lib/gnutls_int.h
@@ -444,7 +444,7 @@ struct gnutls_priority_st
   int no_padding:1;
   int allow_large_records:1;
   safe_renegotiation_t sr;
-  int no_ssl3_record_version:1;
+  int ssl3_record_version:1;
   int additional_verify_flags;
 };
 
diff --git a/lib/gnutls_priority.c b/lib/gnutls_priority.c
index dc0a4e4..b6c1fba 100644
--- a/lib/gnutls_priority.c
+++ b/lib/gnutls_priority.c
@@ -732,10 +732,10 @@ gnutls_priority_init (gnutls_priority_t * priority_cache,
             }
           else if (strcasecmp (&broken_list[i][1],
                                "SSL3_RECORD_VERSION") == 0)
-            (*priority_cache)->no_ssl3_record_version = 0;
+            (*priority_cache)->ssl3_record_version = 1;
           else if (strcasecmp (&broken_list[i][1],
                                "LATEST_RECORD_VERSION") == 0)
-            (*priority_cache)->no_ssl3_record_version = 1;
+            (*priority_cache)->ssl3_record_version = 0;
           else if (strcasecmp (&broken_list[i][1],
                                "VERIFY_ALLOW_X509_V1_CA_CRT") == 0)
             (*priority_cache)->additional_verify_flags |=


hooks/post-receive
-- 
GNU gnutls



reply via email to

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