summaryrefslogtreecommitdiff
path: root/lib/version.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-01-05 10:51:39 +0100
committerDaniel Stenberg <daniel@haxx.se>2020-01-12 17:19:12 +0100
commit6773c7ca65cf2183295e56603f9b86a5ce816a06 (patch)
tree838cfbdd4048179b987a1256ab5af39fe3c0ef14 /lib/version.c
parentad0aa27a9dfd027ffb62b86dfe8a09feb0fee0d8 (diff)
downloadcurl-6773c7ca65cf2183295e56603f9b86a5ce816a06.tar.gz
wolfSSH: new SSH backend
Adds support for SFTP (not SCP) using WolfSSH. Closes #4231
Diffstat (limited to 'lib/version.c')
-rw-r--r--lib/version.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/version.c b/lib/version.c
index 6405d369d..77aca7cbe 100644
--- a/lib/version.c
+++ b/lib/version.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -265,8 +265,10 @@ static const char * const protocols[] = {
#ifndef CURL_DISABLE_RTSP
"rtsp",
#endif
-#if defined(USE_SSH)
+#if defined(USE_SSH) && !defined(USE_WOLFSSH)
"scp",
+#endif
+#ifdef USE_SSH
"sftp",
#endif
#if !defined(CURL_DISABLE_SMB) && defined(USE_NTLM) && \