mirror of https://github.com/wolfSSL/wolfssh.git
check for scp + no server and have print outs for servers
parent
39fce973f2
commit
0f77f67bdf
|
|
@ -839,6 +839,8 @@ THREAD_RETURN WOLFSSH_THREAD echoserver_test(void* args)
|
|||
#endif
|
||||
#ifndef NO_WOLFSSH_SERVER
|
||||
echoserver_test(&args);
|
||||
#else
|
||||
printf("wolfSSH compiled without server support\n");
|
||||
#endif
|
||||
|
||||
wolfSSH_Cleanup();
|
||||
|
|
|
|||
|
|
@ -735,6 +735,8 @@ THREAD_RETURN WOLFSSH_THREAD server_test(void* args)
|
|||
|
||||
#ifndef NO_WOLFSSH_SERVER
|
||||
server_test(&args);
|
||||
#else
|
||||
printf("wolfSSH compiled without server support\n");
|
||||
#endif
|
||||
|
||||
wolfSSH_Cleanup();
|
||||
|
|
|
|||
|
|
@ -56,6 +56,10 @@ extern "C" {
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(WOLFSSH_SCP) && defined(NO_WOLFSSH_SERVER)
|
||||
#error only SCP server side supported
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue