forked from wolfSSL/wolfssl
make server/client only work
This commit is contained in:
@ -1992,6 +1992,10 @@ int bench_tls(void* args)
|
||||
#endif
|
||||
#endif
|
||||
if (argClientOnly) {
|
||||
#if !defined(NO_WOLFSSL_SERVER) && !defined(NO_WOLFSSL_CLIENT)
|
||||
/* to avoid to wait server forever */
|
||||
info->serverListening = 1;
|
||||
#endif
|
||||
#ifndef NO_WOLFSSL_CLIENT
|
||||
ret = bench_tls_client(info);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user