forked from pool/vsftpd
33ca05c450
- Fix build against OpenSSL 1.1. Remove lock on 1.0.x libs adds vsftpd-3.0.3-build-with-openssl-1.1.patch (bsc#1042673) OBS-URL: https://build.opensuse.org/request/show/503275 OBS-URL: https://build.opensuse.org/package/show/network/vsftpd?expand=0&rev=112
14 lines
422 B
Diff
14 lines
422 B
Diff
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
|
|
|