diff options
author | 2022-07-03 16:40:52 +0200 | |
---|---|---|
committer | 2022-07-09 05:06:22 +0200 | |
commit | aadbdc2d708c44ef2614672ae58777fca6cf3bb5 (patch) | |
tree | 9fe09a8ec8bf3d086ecb072ea2a6ba039ea1ac8a /system/curlftpfs/patches/no-verify-hostname.patch | |
parent | 39a47007383ae4c3a8b9ba92006298e5157c4c3b (diff) | |
download | slackbuilds-aadbdc2d708c44ef2614672ae58777fca6cf3bb5.tar.gz |
system/curlftpfs: Add patches from other distros
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/curlftpfs/patches/no-verify-hostname.patch')
-rw-r--r-- | system/curlftpfs/patches/no-verify-hostname.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/system/curlftpfs/patches/no-verify-hostname.patch b/system/curlftpfs/patches/no-verify-hostname.patch new file mode 100644 index 0000000000..cf0d410ad9 --- /dev/null +++ b/system/curlftpfs/patches/no-verify-hostname.patch @@ -0,0 +1,14 @@ +diff -aur curlftpfs-0.9.2.orig/ftpfs.c curlftpfs-0.9.2.new/ftpfs.c +--- curlftpfs-0.9.2.orig/ftpfs.c 2016-01-25 17:01:32.150581272 +0100 ++++ curlftpfs-0.9.2.new/ftpfs.c 2016-01-25 17:02:08.566538053 +0100 +@@ -1625,9 +1625,7 @@ + } + + if (ftpfs.no_verify_hostname) { +- /* The default is 2 which verifies even the host string. This sets to 1 +- * which means verify the host but not the string. */ +- curl_easy_setopt_or_die(easy, CURLOPT_SSL_VERIFYHOST, 1); ++ curl_easy_setopt_or_die(easy, CURLOPT_SSL_VERIFYHOST, 0); + } + + curl_easy_setopt_or_die(easy, CURLOPT_INTERFACE, ftpfs.interface); |