[glib-networking] gnutls: Change the GnuTLS priority string from NORMAL to SECURE256
- From: Dan Winship <danw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib-networking] gnutls: Change the GnuTLS priority string from NORMAL to SECURE256
- Date: Tue, 12 Jun 2012 14:37:03 +0000 (UTC)
commit 6550c7e9cf928b13ed1d1167004c1f6e16e0173f
Author: Josh Rickmar <jrick devio us>
Date: Fri Jun 8 12:57:00 2012 -0400
gnutls: Change the GnuTLS priority string from NORMAL to SECURE256
Prefer 256-bit AES to 128-bit, like Firefox does
https://bugzilla.gnome.org/show_bug.cgi?id=677717
tls/gnutls/gtlsconnection-gnutls.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/tls/gnutls/gtlsconnection-gnutls.c b/tls/gnutls/gtlsconnection-gnutls.c
index b8fc86c..1db7914 100644
--- a/tls/gnutls/gtlsconnection-gnutls.c
+++ b/tls/gnutls/gtlsconnection-gnutls.c
@@ -150,16 +150,16 @@ g_tls_connection_gnutls_init_priorities (void)
/* First field is "ssl3 only", second is "allow unsafe rehandshaking" */
gnutls_priority_init (&priorities[FALSE][FALSE],
- "NORMAL:%COMPAT",
+ "SECURE256:%COMPAT",
NULL);
gnutls_priority_init (&priorities[TRUE][FALSE],
- "NORMAL:%COMPAT:!VERS-TLS1.2:!VERS-TLS1.1:!VERS-TLS1.0",
+ "SECURE256:%COMPAT:!VERS-TLS1.2:!VERS-TLS1.1:!VERS-TLS1.0",
NULL);
gnutls_priority_init (&priorities[FALSE][TRUE],
- "NORMAL:%COMPAT:%UNSAFE_RENEGOTIATION",
+ "SECURE256:%COMPAT:%UNSAFE_RENEGOTIATION",
NULL);
gnutls_priority_init (&priorities[TRUE][TRUE],
- "NORMAL:%COMPAT:!VERS-TLS1.2:!VERS-TLS1.1:!VERS-TLS1.0:%UNSAFE_RENEGOTIATION",
+ "SECURE256:%COMPAT:!VERS-TLS1.2:!VERS-TLS1.1:!VERS-TLS1.0:%UNSAFE_RENEGOTIATION",
NULL);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]