aboutsummaryrefslogtreecommitdiff
path: root/lib/curl_setup.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-05-05 23:42:29 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-05-06 10:14:17 +0200
commitd37b0936d1ab9319d7b684eb7d9fc447174429bc (patch)
tree0acdf8e6d74b623cc7a230cf0e1a673d689b56ca /lib/curl_setup.h
parentc23b8e827c3d348972db4d0e1a59492f466dca34 (diff)
ssh: define USE_SSH if SSH is enabled (any backend)
Closes #3846
Diffstat (limited to 'lib/curl_setup.h')
-rw-r--r--lib/curl_setup.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/curl_setup.h b/lib/curl_setup.h
index 4c3a17359..e5b5c863b 100644
--- a/lib/curl_setup.h
+++ b/lib/curl_setup.h
@@ -686,6 +686,10 @@ int netware_init(void);
#error "No longer supported. Set CURLOPT_CAINFO at runtime instead."
#endif
+#if defined(USE_LIBSSH2) || defined(USE_LIBSSH) || defined(USE_WOLFSSH)
+#define USE_SSH
+#endif
+
/*
* Provide a mechanism to silence picky compilers, such as gcc 4.6+.
* Parameters should of course normally not be unused, but for example when