#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"
+#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. */