X-Git-Url: https://ruderich.org/simon/gitweb/?p=tlsproxy%2Ftlsproxy.git;a=blobdiff_plain;f=src%2Ftlsproxy.c;h=6d49253681ea05ff92b27c8e3a3e71de3d7ee5fa;hp=77459304da23cd61867410d82e6a0a26e02636d0;hb=071dd5923aa311dc6830904a4e31db227ea08995;hpb=da3b5fdb4d8c70bea3bc4d2a9b5e4eab737864eb diff --git a/src/tlsproxy.c b/src/tlsproxy.c index 7745930..6d49253 100644 --- a/src/tlsproxy.c +++ b/src/tlsproxy.c @@ -191,6 +191,7 @@ int main(int argc, char **argv) { if (global_log_level >= LOG_DEBUG1_LEVEL) { printf("tlsproxy %s\n", VERSION); printf("Listening for connections on port %d.\n", port); + printf("Priority string: %s.\n", PROXY_TLS_PRIORITIES); if (global_proxy_host != NULL && global_proxy_port != NULL) { printf("Using proxy: %s:%s.\n", global_proxy_host, @@ -413,7 +414,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. */