SHA256
1
0
forked from pool/vsftpd
vsftpd/vsftpd-3.0.3-build-with-openssl-1.1.patch

14 lines
422 B
Diff
Raw Normal View History

Index: vsftpd-3.0.3/vsf_findlibs.sh
===================================================================
--- vsftpd-3.0.3.orig/vsf_findlibs.sh
+++ vsftpd-3.0.3/vsf_findlibs.sh
@@ -72,7 +72,7 @@ locate_library /usr/shlib/librt.so && ec
locate_library /usr/lib/libsendfile.so && echo "-lsendfile";
# OpenSSL
-if find_func SSL_library_init ssl.o; then
+if find_func SSL_CTX_new ssl.o; then
echo "-lssl -lcrypto";
fi