diff options
Diffstat (limited to 'qmail-smtpd.c')
| -rw-r--r-- | qmail-smtpd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qmail-smtpd.c b/qmail-smtpd.c index d5be4af..2a1fd71 100644 --- a/qmail-smtpd.c +++ b/qmail-smtpd.c | |||
| @@ -1432,7 +1432,7 @@ void tls_init() | |||
| 1432 | /* a new SSL context with the bare minimum of options */ | 1432 | /* a new SSL context with the bare minimum of options */ |
| 1433 | ctx = SSL_CTX_new(SSLv23_server_method()); | 1433 | ctx = SSL_CTX_new(SSLv23_server_method()); |
| 1434 | if (!ctx) { tls_err("unable to initialize ctx"); return; } | 1434 | if (!ctx) { tls_err("unable to initialize ctx"); return; } |
| 1435 | SSL_CTX_set_options(ctx, SSL_OP_NO_SSLv3 | | 1435 | SSL_CTX_set_options(ctx, SSL_OP_NO_SSLv3 | SSL_OP_NO_TLSv1 | |
| 1436 | SSL_OP_CIPHER_SERVER_PREFERENCE | | 1436 | SSL_OP_CIPHER_SERVER_PREFERENCE | |
| 1437 | SSL_OP_PRIORITIZE_CHACHA); | 1437 | SSL_OP_PRIORITIZE_CHACHA); |
| 1438 | 1438 | ||
