]> git.ipfire.org Git - thirdparty/curl.git/commit
tool_operate: only set SSH related libcurl options for SSH URLs
authorDaniel Stenberg <daniel@haxx.se>
Sun, 21 Nov 2021 14:52:58 +0000 (15:52 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 21 Nov 2021 22:12:48 +0000 (23:12 +0100)
commit18270893abdb19f0ca170c118f8a2847dbd304be
treec1e6f43db34a089ec7ea4a476c3635b519d5d890
parent3f8fde366f7655079ff97bd267226f3f7c091844
tool_operate: only set SSH related libcurl options for SSH URLs

For example, this avoids trying to find and set the known_hosts file (or
warn for its absence) if SFTP or SCP are not used.

Closes #8040
src/tool_libinfo.c
src/tool_libinfo.h
src/tool_operate.c