summaryrefslogtreecommitdiff
path: root/test/rejectlog
diff options
context:
space:
mode:
authorPhil Pennock <pdp@exim.org>2012-05-20 21:49:40 -0400
committerPhil Pennock <pdp@exim.org>2012-05-20 21:49:40 -0400
commit3375e053c40dacf62a7eac02d52438a43398c053 (patch)
tree47d77126f289bf20d0068f5acdea4cbe382f92d8 /test/rejectlog
parent3bcbbbe2697819d248259b1938ffd52d2bf4090b (diff)
Added tls_dh_max_bits & check tls_require_ciphers early.
Janne Snabb tracked down the GnuTLS 2.12 vs NSS (Thunderbird) interop problems to a hard-coded limit of 2236 bits for DH in NSS while GnuTLS was suggesting 2432 bits as normal. Added new global option tls_dh_max_bits to clamp all DH values (client or server); unexpanded integer. Default value to 2236. Apply to both GnuTLS and OpenSSL (which requires tls_dh_params for this). Tired of debugging "SMTP fails TLS" error messages in mailing-lists caused by OpenSSL library/include clashes, and of finding out I typo'd in tls_require_ciphers only at the STARTTLS handshake. During readconf, fork/drop-privs/initialise-TLS-library. In that, if tls_require_ciphers is set, then validate it. The validation child will panic if it can't initialise or if tls_require_ciphers can't be parsed, else it exits 0. If the child exits anything other than 0, the main Exim process will exit.
Diffstat (limited to 'test/rejectlog')
0 files changed, 0 insertions, 0 deletions