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:
Daniel Stenberg 2025-09-24 06:52:52 +02:00
parent 22b9f77e38
commit b011e3fcfb
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
21 changed files with 13 additions and 1458 deletions

View file

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

View file

@ -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

View file

@ -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

View file

@ -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,

View file

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

View file

@ -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

File diff suppressed because it is too large Load diff