]> ruderich.org/simon Gitweb - tlsproxy/tlsproxy.git/blobdiff - src/tlsproxy.c
Set GnuTLS priority string with new constant PROXY_TLS_PRIORITIES.
[tlsproxy/tlsproxy.git] / src / tlsproxy.c
index 77459304da23cd61867410d82e6a0a26e02636d0..751c8604c83e7ae22fb4106eb0a34c27d35a027d 100644 (file)
@@ -413,7 +413,8 @@ static void initialize_gnutls(void) {
 #endif
 
     /* Setup GnuTLS cipher suites. */
-    result = gnutls_priority_init(&global_tls_priority_cache, "NORMAL", NULL);
+    result = gnutls_priority_init(&global_tls_priority_cache,
+                                  PROXY_TLS_PRIORITIES, NULL);
     GNUTLS_ERROR_EXIT(result, "gnutls_priority_init()");
 
     /* Read Diffie-Hellman parameters. */