1 |
diff -Nur qpsmtpd-0.84/plugins/tls qpsmtpd-0.84_bz8926/plugins/tls |
2 |
--- qpsmtpd-0.84/plugins/tls 2015-05-19 22:39:32.785000000 +0200 |
3 |
+++ qpsmtpd-0.84_bz8926/plugins/tls 2015-05-19 22:41:40.023000000 +0200 |
4 |
@@ -84,6 +84,7 @@ |
5 |
SSL_key_file => $self->tls_key, |
6 |
SSL_ca_file => $self->tls_ca, |
7 |
SSL_cipher_list => $self->tls_ciphers, |
8 |
+ SSL_version => 'SSLv23:!SSLv2:!SSLv3', |
9 |
SSL_server => 1 |
10 |
) or die "Could not create SSL context: $!"; |
11 |
# now extract the password... |
12 |
@@ -202,6 +203,7 @@ |
13 |
SSL_key_file => $self->tls_key, |
14 |
SSL_ca_file => $self->tls_ca, |
15 |
SSL_cipher_list => $self->tls_ciphers, |
16 |
+ SSL_version => 'SSLv23:!SSLv2:!SSLv3', |
17 |
SSL_server => 1, |
18 |
SSL_reuse_ctx => $self->ssl_context, |
19 |
) or die "Could not create SSL socket: $!"; |