]> granicus.if.org Git - mutt/commit
Add SNI support for OpenSSL. (see #3923)
authorKevin McCarthy <kevin@8t8.us>
Thu, 9 Mar 2017 21:00:10 +0000 (13:00 -0800)
committerKevin McCarthy <kevin@8t8.us>
Thu, 9 Mar 2017 21:00:10 +0000 (13:00 -0800)
commit9aaa0bad91cf5da937b59fa79a90f59c2026751c
tree3f7137ce9d071b4163aa49b1daa8251fa8e9eadc
parent0d80c9be203a19b8c8ec8558358648aee0fcbd8b
Add SNI support for OpenSSL. (see #3923)

The original patch for this is by Phil Pennock at:
https://people.spodhuis.org/phil.pennock/software/mutt-patches/

I have removed the OpenSSL version check and defined(OPENSSL_NO_TLSEXT)
check because:
  * SSL_set_tlsext_host_name() was added in 0.9.8f [11 Oct 2007]
  * OpenSSL 1.1 no longer has the OPENSSL_NO_TLSEXT compilation option
  * https://rt.openssl.org/Ticket/Display.html?id=2788&user=guest&pass=guest
    shows that the no-tlsext compilation option has been broken for some time.
  * Going forward, I'd like to minimize and start removing cruft required
    to support ancient/insecure versions of libraries.
mutt_ssl.c