gnutls-commit
[Top][All Lists]
Advanced

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

[SCM] GNU gnutls branch, master, updated. gnutls_2_9_7-2-g6e7f7b9


From: Simon Josefsson
Subject: [SCM] GNU gnutls branch, master, updated. gnutls_2_9_7-2-g6e7f7b9
Date: Wed, 07 Oct 2009 16:12:08 +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=6e7f7b9d7b9b26872ee071582dc51a5c57e63182

The branch, master has been updated
       via  6e7f7b9d7b9b26872ee071582dc51a5c57e63182 (commit)
      from  3c963bc6671daaf75da355878b79f87478b32c25 (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 6e7f7b9d7b9b26872ee071582dc51a5c57e63182
Author: Simon Josefsson <address@hidden>
Date:   Wed Oct 7 18:12:02 2009 +0200

    After setting priorities using new API, update current TLS version.

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

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

diff --git a/lib/gnutls_priority.c b/lib/gnutls_priority.c
index a99cea3..f50eb8c 100644
--- a/lib/gnutls_priority.c
+++ b/lib/gnutls_priority.c
@@ -426,6 +426,13 @@ gnutls_priority_set (gnutls_session_t session, 
gnutls_priority_t priority)
   memcpy (&session->internals.priorities, priority,
          sizeof (struct gnutls_priority_st));
 
+  /* set the current version to the first in the chain.
+   * This will be overridden later.
+   */
+  if (session->internals.priorities.protocol.algorithms > 0)
+    _gnutls_set_current_version (session, session->internals.
+                                priorities.protocol.priority[0]);
+
   return 0;
 }
 


hooks/post-receive
-- 
GNU gnutls




reply via email to

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