Blame SOURCES/LibVNCServer-0.9.10-system-crypto-policy.patch

9b8edd
diff -Naur libvncserver-LibVNCServer-0.9.10.old/libvncclient/tls_gnutls.c libvncserver-LibVNCServer-0.9.10/libvncclient/tls_gnutls.c
9b8edd
--- libvncserver-LibVNCServer-0.9.10.old/libvncclient/tls_gnutls.c	2015-12-12 00:14:37.269157918 +0100
9b8edd
+++ libvncserver-LibVNCServer-0.9.10/libvncclient/tls_gnutls.c	2015-12-12 11:23:29.391385234 +0100
9b8edd
@@ -31,8 +31,8 @@
9b8edd
 #include "tls.h"
9b8edd
 
9b8edd
 
9b8edd
-static const char *rfbTLSPriority = "NORMAL:+DHE-DSS:+RSA:+DHE-RSA:+SRP";
9b8edd
-static const char *rfbAnonTLSPriority= "NORMAL:+ANON-DH";
9b8edd
+static const char *rfbTLSPriority = "@SYSTEM";
9b8edd
+static const char *rfbAnonTLSPriority= "@SYSTEM:+ANON-DH";
9b8edd
 
9b8edd
 #define DH_BITS 1024
9b8edd
 static gnutls_dh_params_t rfbDHParams;
9b8edd
diff -Naur libvncserver-LibVNCServer-0.9.10.old/libvncserver/rfbssl_gnutls.c libvncserver-LibVNCServer-0.9.10/libvncserver/rfbssl_gnutls.c
9b8edd
--- libvncserver-LibVNCServer-0.9.10.old/libvncserver/rfbssl_gnutls.c	2015-12-12 00:14:37.270157930 +0100
9b8edd
+++ libvncserver-LibVNCServer-0.9.10/libvncserver/rfbssl_gnutls.c	2015-12-12 11:14:49.966830581 +0100
9b8edd
@@ -54,7 +54,7 @@
9b8edd
 
9b8edd
     if (!GNUTLS_E_SUCCESS == (ret = gnutls_init(&session, GNUTLS_SERVER))) {
9b8edd
       /* */
9b8edd
-    } else if (!GNUTLS_E_SUCCESS == (ret = gnutls_priority_set_direct(session, "EXPORT", NULL))) {
9b8edd
+    } else if (!GNUTLS_E_SUCCESS == (ret = gnutls_set_default_priority(session))) {
9b8edd
       /* */
9b8edd
     } else if (!GNUTLS_E_SUCCESS == (ret = gnutls_credentials_set(session, GNUTLS_CRD_CERTIFICATE, ctx->x509_cred))) {
9b8edd
       /* */