With feeling this time.
From 52edd12db272e511b13db1092c11d86e9f735e51 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh <r...@debian.org> Date: Fri, 24 Aug 2018 11:02:36 -0400 Subject: [PATCH] Set SNI to server name (Closes: #907193)
--- debian/patches/series | 1 + debian/patches/set_sni.diff | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 debian/patches/set_sni.diff diff --git a/debian/patches/series b/debian/patches/series index 3d95e1a..bc4c443 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,3 @@ fix-makefile.diff #ubuntu-switch-to-SSLv23_client_method-and-use-CTX-options-to-select-protocol.patch +set_sni.diff diff --git a/debian/patches/set_sni.diff b/debian/patches/set_sni.diff new file mode 100644 index 0000000..dd6f2d8 --- /dev/null +++ b/debian/patches/set_sni.diff @@ -0,0 +1,20 @@ +Description: set SNI +Author: Ryan Kavanagh <r...@debian.org> +Origin: Debian +Bug-Debian: https://bugs.debian.org/907193 +Forwarded: https://github.com/lefcha/imapfilter/pull/185 +Last-Update: 2018-08-24 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: imapfilter/src/socket.c +=================================================================== +--- imapfilter.orig/src/socket.c 2018-08-23 17:38:49.193720987 -0400 ++++ imapfilter/src/socket.c 2018-08-23 17:44:07.043509188 -0400 +@@ -141,6 +141,7 @@ + if (!(ssn->sslconn = SSL_new(ctx))) + goto fail; + ++ SSL_set_tlsext_host_name(ssn->sslconn, ssn->server); + SSL_set_fd(ssn->sslconn, ssn->socket); + + for (;;) { -- 2.18.0
signature.asc
Description: PGP signature