Same behaviour, "NORMAL" is still used.
#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. */
#include "log.h"
+
/* Length for path arrays. */
#define TLSPROXY_MAX_PATH_LENGTH 1024
* certificate. */
#define STORED_SERVER_CERT_FILE_FORMAT "./certificate-%s-server.pem"
+/* GnuTLS priority string used for both server and client connections. */
+#define PROXY_TLS_PRIORITIES "NORMAL"
+
/* Proxy hostname and port if specified on the command line. */
char *global_proxy_host;