[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnupg-commit-watchers
Subject:    [gnutls-commits] CVS gnutls/lib
From:       "CVS User jas" <jas () gnutls ! org>
Date:       2006-11-29 11:26:56
Message-ID: E1GpNaa-0003Ns-2c () trithemius ! gnupg ! org
[Download RAW message or body]

Update of /cvs/gnutls/gnutls/lib
In directory trithemius:/tmp/cvs-serv13009

Modified Files:
	gnutls_priority.c 
Log Message:
Attempt TLS 1.2 and TLS 1.1 too, by default.


--- /cvs/gnutls/gnutls/lib/gnutls_priority.c	2006/04/11 15:37:22	2.53
+++ /cvs/gnutls/gnutls/lib/gnutls_priority.c	2006/11/29 11:26:55	2.54
@@ -258,7 +258,7 @@
   * these defaults are ok. You may override any of the following priorities by calling
   * the appropriate functions.
   *
-  * The order is TLS1, SSL3 for protocols.
+  * The order is TLS 1.2, TLS 1.1, TLS 1.0, SSL3 for protocols.
   * RSA, DHE_DSS, DHE_RSA for key exchange 
   * algorithms. SHA, MD5 and RIPEMD160 for MAC algorithms.
   * AES_128_CBC, 3DES_CBC, 
@@ -270,7 +270,7 @@
 int
 gnutls_set_default_priority (gnutls_session_t session)
 {
-  static const int protocol_priority[] = { GNUTLS_TLS1, GNUTLS_SSL3, 0 };
+  static const int protocol_priority[] = { GNUTLS_TLS1_2, GNUTLS_TLS1_1, GNUTLS_SSL3, 0 };
   static const int kx_priority[] =
     { GNUTLS_KX_RSA, GNUTLS_KX_DHE_DSS, GNUTLS_KX_DHE_RSA, 0 };
   static const int cipher_priority[] = {


_______________________________________________
Gnutls-commits mailing list
Gnutls-commits@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnutls-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic