#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 \
+ /* Don't use known insecure algorithms. */ \
+ "SECURE" \
+ /* Lower priority of SHA-1, user better hashes if possible. */ \
+ ":-SHA1:+SHA1"
+
/* Proxy hostname and port if specified on the command line. */
char *global_proxy_host;