gnutls: Fix invalid printf format
authorStef Walter <stefw@gnome.org>
Fri, 3 Aug 2012 15:59:25 +0000 (17:59 +0200)
committerStef Walter <stefw@gnome.org>
Fri, 3 Aug 2012 16:29:26 +0000 (18:29 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=681148

tls/gnutls/gtlsconnection-gnutls.c

index d3d2ced..da6f196 100644 (file)
@@ -202,8 +202,8 @@ g_tls_connection_gnutls_init_priorities (void)
     base_priority = "NORMAL:%COMPAT";
 
   ssl3_priority = g_strdup_printf ("%s:!VERS-TLS1.2:!VERS-TLS1.1:!VERS-TLS1.0", base_priority);
-  unsafe_rehandshake_priority = g_strdup_printf ("%s:%UNSAFE_RENEGOTIATION", base_priority);
-  ssl3_unsafe_rehandshake_priority = g_strdup_printf ("%s:!VERS-TLS1.2:!VERS-TLS1.1:!VERS-TLS1.0:%UNSAFE_RENEGOTIATION", base_priority);
+  unsafe_rehandshake_priority = g_strdup_printf ("%s:%%UNSAFE_RENEGOTIATION", base_priority);
+  ssl3_unsafe_rehandshake_priority = g_strdup_printf ("%s:!VERS-TLS1.2:!VERS-TLS1.1:!VERS-TLS1.0:%%UNSAFE_RENEGOTIATION", base_priority);
 
   gnutls_priority_init (&priorities[FALSE][FALSE], base_priority, NULL);
   gnutls_priority_init (&priorities[TRUE][FALSE], ssl3_priority, NULL);