wolfSSH: new SSH backend

Adds support for SFTP (not SCP) using WolfSSH.

Closes #4231
This commit is contained in:
Daniel Stenberg 2020-01-05 10:51:39 +01:00
parent ad0aa27a9d
commit 6773c7ca65
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
8 changed files with 1247 additions and 17 deletions

View file

@ -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) && \