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_99_1-76-gc25fca6


From: Nikos Mavrogiannopoulos
Subject: [SCM] GNU gnutls branch, master, updated. gnutls_2_99_1-76-gc25fca6
Date: Sun, 22 May 2011 15:56:58 +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=c25fca6ffc04baabc9df3ef2bc09c859bb905f8b

The branch, master has been updated
       via  c25fca6ffc04baabc9df3ef2bc09c859bb905f8b (commit)
      from  500eab9c58c0db9aebd2e74ffd71b1ba84a44ae6 (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 c25fca6ffc04baabc9df3ef2bc09c859bb905f8b
Author: Nikos Mavrogiannopoulos <address@hidden>
Date:   Sun May 22 17:56:54 2011 +0200

    Only reply with ECC Packet format extension if we have negotiated ECC.

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

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

diff --git a/lib/ext/ecc.c b/lib/ext/ecc.c
index 7f744ca..e1eef10 100644
--- a/lib/ext/ecc.c
+++ b/lib/ext/ecc.c
@@ -242,6 +242,9 @@ _gnutls_supported_ecc_pf_send_params (gnutls_session_t 
session, gnutls_buffer_st
 {
   const opaque p[2] = {0x01, 0x00}; /* only support uncompressed point format 
*/
   
+  if (session->security_parameters.entity == GNUTLS_SERVER && 
!_gnutls_session_is_ecc(session))
+    return 0;
+  
   /* this extension is only being sent on client and server side */
   _gnutls_buffer_append_data(extdata, p, 2);
   return 2;


hooks/post-receive
-- 
GNU gnutls



reply via email to

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