mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 19:24:42 +02:00
make server/client only work
This commit is contained in:
@@ -1992,6 +1992,10 @@ int bench_tls(void* args)
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
if (argClientOnly) {
|
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
|
#ifndef NO_WOLFSSL_CLIENT
|
||||||
ret = bench_tls_client(info);
|
ret = bench_tls_client(info);
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user