mirror of
https://github.com/curl/curl.git
synced 2026-08-26 16:03:33 +03:00
vssh: drop support for wolfSSH
The implementation was incomplete and lesser than the other backends. No one ever reported a bug or requested enhancements for this, indicating that this backend was never used. Closes #18700
This commit is contained in:
parent
22b9f77e38
commit
b011e3fcfb
21 changed files with 13 additions and 1458 deletions
|
|
@ -127,8 +127,7 @@ LIB_VQUIC_HFILES = \
|
|||
LIB_VSSH_CFILES = \
|
||||
vssh/libssh.c \
|
||||
vssh/libssh2.c \
|
||||
vssh/curl_path.c \
|
||||
vssh/wolfssh.c
|
||||
vssh/curl_path.c
|
||||
|
||||
LIB_VSSH_HFILES = \
|
||||
vssh/curl_path.h \
|
||||
|
|
|
|||
|
|
@ -706,9 +706,6 @@ ${SIZEOF_TIME_T_CODE}
|
|||
/* if libssh2 is in use */
|
||||
#cmakedefine USE_LIBSSH2 1
|
||||
|
||||
/* if wolfssh is in use */
|
||||
#cmakedefine USE_WOLFSSH 1
|
||||
|
||||
/* if libpsl is in use */
|
||||
#cmakedefine USE_LIBPSL 1
|
||||
|
||||
|
|
|
|||
|
|
@ -776,7 +776,7 @@
|
|||
# endif
|
||||
#endif
|
||||
|
||||
#if defined(USE_LIBSSH2) || defined(USE_LIBSSH) || defined(USE_WOLFSSH)
|
||||
#if defined(USE_LIBSSH2) || defined(USE_LIBSSH)
|
||||
#define USE_SSH
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -1611,7 +1611,7 @@ const struct Curl_handler *Curl_getn_scheme_handler(const char *scheme,
|
|||
#else
|
||||
NULL,
|
||||
#endif
|
||||
#if defined(USE_SSH) && !defined(USE_WOLFSSH)
|
||||
#if defined(USE_SSH)
|
||||
&Curl_handler_scp,
|
||||
#else
|
||||
NULL,
|
||||
|
|
|
|||
|
|
@ -368,10 +368,8 @@ static const char * const supported_protocols[] = {
|
|||
#ifndef CURL_DISABLE_RTSP
|
||||
"rtsp",
|
||||
#endif
|
||||
#if defined(USE_SSH) && !defined(USE_WOLFSSH)
|
||||
"scp",
|
||||
#endif
|
||||
#ifdef USE_SSH
|
||||
"scp",
|
||||
"sftp",
|
||||
#endif
|
||||
#if !defined(CURL_DISABLE_SMB) && defined(USE_CURL_NTLM_CORE)
|
||||
|
|
|
|||
|
|
@ -34,9 +34,6 @@
|
|||
#define SSH_SUPPRESS_DEPRECATED
|
||||
#include <libssh/libssh.h>
|
||||
#include <libssh/sftp.h>
|
||||
#elif defined(USE_WOLFSSH)
|
||||
#include <wolfssh/ssh.h>
|
||||
#include <wolfssh/wolfsftp.h>
|
||||
#endif
|
||||
|
||||
#include "curl_path.h"
|
||||
|
|
@ -211,14 +208,6 @@ struct ssh_conn {
|
|||
struct libssh2_agent_publickey *sshagent_identity;
|
||||
struct libssh2_agent_publickey *sshagent_prev_identity;
|
||||
LIBSSH2_KNOWNHOSTS *kh;
|
||||
#elif defined(USE_WOLFSSH)
|
||||
CURLcode actualcode; /* the actual error code */
|
||||
WOLFSSH *ssh_session;
|
||||
WOLFSSH_CTX *ctx;
|
||||
word32 handleSz;
|
||||
byte handle[WOLFSSH_MAX_HANDLE];
|
||||
curl_off_t offset;
|
||||
BIT(initialised);
|
||||
#endif /* USE_LIBSSH */
|
||||
BIT(authed); /* the connection has been authenticated fine */
|
||||
BIT(acceptfail); /* used by the SFTP_QUOTE (continue if
|
||||
|
|
|
|||
1225
lib/vssh/wolfssh.c
1225
lib/vssh/wolfssh.c
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue