diff options
| -rw-r--r-- | imap/ChangeLog | 5 | ||||
| -rw-r--r-- | tcpd/libcouriertls.c | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/imap/ChangeLog b/imap/ChangeLog index abb298a..fd18e0d 100644 --- a/imap/ChangeLog +++ b/imap/ChangeLog @@ -1,3 +1,8 @@ +2020-12-06 Sam Varshavchik <mrsam@courier-mta.com> + + * openssl: Add TLS_PROTOCOL setting to disable client-initiated + renegotiation. + 2020-11-30 Sam Varshavchik <mrsam@courier-mta.com> * imap: send corrupted Unicode alerts only for new messages. diff --git a/tcpd/libcouriertls.c b/tcpd/libcouriertls.c index 246b90d..39bfb76 100644 --- a/tcpd/libcouriertls.c +++ b/tcpd/libcouriertls.c @@ -62,6 +62,11 @@ struct proto_ops { const SSL_METHOD * (*m)(); int o; }; + +#ifndef SSL_OP_NORENEGOTIATION +#define SSL_OP_NORENEGOTIATION 0 +#endif + struct proto_ops op_list[] = { #ifdef SSL_OP_NO_TLSv1 |
