summaryrefslogtreecommitdiff
path: root/source/n/vsftpd/vsftpd.link-with-openssl-1.1.diff
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/vsftpd/vsftpd.link-with-openssl-1.1.diff')
-rw-r--r--source/n/vsftpd/vsftpd.link-with-openssl-1.1.diff16
1 files changed, 16 insertions, 0 deletions
diff --git a/source/n/vsftpd/vsftpd.link-with-openssl-1.1.diff b/source/n/vsftpd/vsftpd.link-with-openssl-1.1.diff
new file mode 100644
index 00000000..2ef819a5
--- /dev/null
+++ b/source/n/vsftpd/vsftpd.link-with-openssl-1.1.diff
@@ -0,0 +1,16 @@
+--- ./vsf_findlibs.sh.orig 2012-03-27 21:17:41.000000000 -0500
++++ ./vsf_findlibs.sh 2018-05-07 16:10:58.744003755 -0500
+@@ -68,10 +68,10 @@
+ # Solaris sendfile
+ locate_library /usr/lib/libsendfile.so && echo "-lsendfile";
+
+-# OpenSSL
+-if find_func SSL_library_init ssl.o; then
++# Always link with OpenSSL:
++#if find_func SSL_library_init ssl.o; then
+ echo "-lssl -lcrypto";
+-fi
++#fi
+
+ exit 0;
+