diff options
| author | Sam Varshavchik | 2020-12-06 20:02:59 -0500 |
|---|---|---|
| committer | Sam Varshavchik | 2020-12-06 20:06:00 -0500 |
| commit | 84960af3aba7d66dfad62554591d9ab23ca3b890 (patch) | |
| tree | 08f237c7d1de3bd37e97f06885da176ac2178298 | |
| parent | 4ec018fb1ea69a5eab159f090e0512856f471ccc (diff) | |
| download | courier-libs-84960af3aba7d66dfad62554591d9ab23ca3b890.tar.bz2 | |
LibreSSL compilation error.
| -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 |
