summaryrefslogtreecommitdiff
path: root/source/n/fetchmail/fetchmail.openssl111.diff
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/fetchmail/fetchmail.openssl111.diff')
-rw-r--r--source/n/fetchmail/fetchmail.openssl111.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/source/n/fetchmail/fetchmail.openssl111.diff b/source/n/fetchmail/fetchmail.openssl111.diff
new file mode 100644
index 00000000..45516b6b
--- /dev/null
+++ b/source/n/fetchmail/fetchmail.openssl111.diff
@@ -0,0 +1,11 @@
+--- ./socket.c.orig 2013-04-23 15:00:45.000000000 -0500
++++ ./socket.c 2018-09-26 11:56:14.957489314 -0500
+@@ -1007,6 +1007,8 @@
+ SSL_use_RSAPrivateKey_file(_ssl_context[sock], mykey, SSL_FILETYPE_PEM);
+ }
+
++ SSL_set_tlsext_host_name(_ssl_context[sock],servercname);
++
+ if (SSL_set_fd(_ssl_context[sock], sock) == 0
+ || SSL_connect(_ssl_context[sock]) < 1) {
+ ERR_print_errors_fp(stderr);