SHA256
1
0
forked from pool/vsftpd
vsftpd/vsftpd-3.0.3-build-with-openssl-1.1.patch
Peter Simons 33ca05c450 Accepting request 503275 from home:dmolkentin:branches:network
- 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
2017-06-12 22:37:25 +00:00

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