ssh: define USE_SSH if SSH is enabled (any backend)

Closes #3846
This commit is contained in:
Daniel Stenberg 2019-05-05 23:42:29 +02:00
parent c23b8e827c
commit d37b0936d1
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
6 changed files with 12 additions and 8 deletions

View file

@ -274,7 +274,7 @@ static const char * const protocols[] = {
#ifndef CURL_DISABLE_RTSP
"rtsp",
#endif
#if defined(USE_LIBSSH) || defined(USE_LIBSSH2)
#if defined(USE_SSH)
"scp",
"sftp",
#endif
@ -390,7 +390,7 @@ static curl_version_info_data version_info = {
curl_version_info_data *curl_version_info(CURLversion stamp)
{
static bool initialized;
#if defined(USE_LIBSSH) || defined(USE_LIBSSH2)
#if defined(USE_SSH)
static char ssh_buffer[80];
#endif
#ifdef USE_SSL