Exclude wolfSCP_connect from server-only build

pull/324/head
Daniele Lacamera 2021-02-16 13:15:52 +01:00
parent d7cd61d926
commit 882e662bbf
1 changed files with 1 additions and 1 deletions

View File

@ -1556,6 +1556,7 @@ void* wolfSSH_GetScpSendCtx(WOLFSSH* ssh)
}
#ifndef NO_WOLFSSH_CLIENT
int wolfSSH_SCP_connect(WOLFSSH* ssh, byte* cmd)
{
int ret = WS_SUCCESS;
@ -1584,7 +1585,6 @@ int wolfSSH_SCP_connect(WOLFSSH* ssh, byte* cmd)
return ret;
}
#ifndef NO_WOLFSSH_CLIENT
static int wolfSSH_SCP_cmd(WOLFSSH* ssh, const char* localName,
const char* remoteName, byte dir)
{