diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-05-05 23:42:29 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-05-05 23:44:39 +0200 |
commit | 2ada75923d1ba38adb5631d5f3fc9394ba41dd37 (patch) | |
tree | a5e1c46c72d3ef0ca946949a468a11175733e7c3 /lib/setopt.c | |
parent | 2d0e9b40d3237b1450cbbfbcb996da244d964898 (diff) | |
download | curl-2ada75923d1ba38adb5631d5f3fc9394ba41dd37.tar.gz |
ssh: define USE_SSH if SSH is enabled (any backend)
Diffstat (limited to 'lib/setopt.c')
-rw-r--r-- | lib/setopt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/setopt.c b/lib/setopt.c index da9ed3bb1..6352f486a 100644 --- a/lib/setopt.c +++ b/lib/setopt.c @@ -2217,7 +2217,7 @@ static CURLcode vsetopt(struct Curl_easy *data, CURLoption option, data->set.proxy_ssl.primary.sessionid = data->set.ssl.primary.sessionid; break; -#if defined(USE_LIBSSH2) || defined(USE_LIBSSH) +#ifdef USE_SSH /* we only include SSH options if explicitly built to support SSH */ case CURLOPT_SSH_AUTH_TYPES: data->set.ssh_auth_types = va_arg(param, long); @@ -2267,7 +2267,7 @@ static CURLcode vsetopt(struct Curl_easy *data, CURLoption option, */ data->set.ssh_keyfunc_userp = va_arg(param, void *); break; -#endif /* USE_LIBSSH2 */ +#endif /* USE_SSH */ case CURLOPT_HTTP_TRANSFER_DECODING: /* |