chiark / gitweb /
preload-hacks: Some patches to make it work.
[termux-packages] / packages / lftp / lftp_ssl.cc.patch
1 diff -uNr lftp-4.8.3/src/lftp_ssl.cc lftp-4.8.3.mod/src/lftp_ssl.cc
2 --- lftp-4.8.3/src/lftp_ssl.cc  2017-08-10 12:57:37.000000000 +0300
3 +++ lftp-4.8.3.mod/src/lftp_ssl.cc      2017-12-19 17:06:58.526580533 +0200
4 @@ -214,6 +214,8 @@
5        "/usr/local/ssl/certs/ca-bundle.crt",
6        "/etc/apache/ssl.crt/ca-bundle.crt",
7        "/usr/share/curl/curl-ca-bundle.crt",
8 +      "@TERMUX_PREFIX@/etc/tls/cert.pem",
9 +      "@TERMUX_PREFIX@/etc/tls/ca-bundle.crt",
10        0};
11     for(int i=0; ca_file_location[i]; i++)
12     {