From 84960af3aba7d66dfad62554591d9ab23ca3b890 Mon Sep 17 00:00:00 2001 From: Sam Varshavchik Date: Sun, 6 Dec 2020 20:02:59 -0500 Subject: LibreSSL compilation error. --- imap/ChangeLog | 5 +++++ tcpd/libcouriertls.c | 5 +++++ 2 files changed, 10 insertions(+) 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 + + * openssl: Add TLS_PROTOCOL setting to disable client-initiated + renegotiation. + 2020-11-30 Sam Varshavchik * 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 -- cgit v1.2.3