aboutsummaryrefslogtreecommitdiff
path: root/mail/fetchmail/files/patch-socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/fetchmail/files/patch-socket.c')
-rw-r--r--mail/fetchmail/files/patch-socket.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/mail/fetchmail/files/patch-socket.c b/mail/fetchmail/files/patch-socket.c
new file mode 100644
index 000000000000..91fba2b5c0fa
--- /dev/null
+++ b/mail/fetchmail/files/patch-socket.c
@@ -0,0 +1,13 @@
+Index: socket.c
+===================================================================
+--- socket.c (Revision 4499)
++++ socket.c (Arbeitskopie)
+@@ -841,6 +841,8 @@
+ }
+ if (certpath)
+ SSL_CTX_load_verify_locations(_ctx, NULL, certpath);
++ else
++ SSL_CTX_set_default_verify_paths(_ctx);
+
+ _ssl_context[sock] = SSL_new(_ctx);
+