diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-10-23 13:49:23 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-12-01 17:35:14 +0100 |
commit | c92d2e14cfb0db662f958effd2ac86f995cf1b5a (patch) | |
tree | a5352cc296c3f7230dc0e34391262941b070feda /lib/setopt.c | |
parent | 3973ee6a654e96c027afee86037680334b24e709 (diff) | |
download | curl-c92d2e14cfb0db662f958effd2ac86f995cf1b5a.tar.gz |
Added support for libssh SSH SCP back-end
libssh is an alternative library to libssh2.
https://www.libssh.org/
That patch set also introduces support for ECDSA
ed25519 keys, as well as gssapi authentication.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib/setopt.c')
-rw-r--r-- | lib/setopt.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/setopt.c b/lib/setopt.c index 70466bffb..944d17347 100644 --- a/lib/setopt.c +++ b/lib/setopt.c @@ -2110,7 +2110,7 @@ static CURLcode setopt(struct Curl_easy *data, CURLoption option, data->set.proxy_ssl.primary.sessionid = data->set.ssl.primary.sessionid; break; -#ifdef USE_LIBSSH2 +#if defined(USE_LIBSSH2) || defined(USE_LIBSSH) /* 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); @@ -2161,7 +2161,6 @@ static CURLcode setopt(struct Curl_easy *data, CURLoption option, data->set.ssh_keyfunc_userp = va_arg(param, void *); break; #endif /* HAVE_LIBSSH2_KNOWNHOST_API */ - #endif /* USE_LIBSSH2 */ case CURLOPT_HTTP_TRANSFER_DECODING: |