diff --git a/embedded/tls-sock-threaded.c b/embedded/tls-sock-threaded.c index 90c79c83..716ce78c 100644 --- a/embedded/tls-sock-threaded.c +++ b/embedded/tls-sock-threaded.c @@ -25,7 +25,8 @@ #include #include -#if !defined(SINGLE_THREADED) && !defined(NO_WOLFSSL_CLIENT) +#if !defined(SINGLE_THREADED) && !defined(NO_WOLFSSL_CLIENT) && \ + !defined(NO_WOLFSSL_SERVER) #include "sockets.h" #include "threading.h" @@ -463,7 +464,7 @@ int main(int argc, char* argv[]) int main(int argc, char* argv[]) { - printf("Threading and TLS client required - compile wolfSSL without SINGLE_THREAED\n"); + printf("Threading and TLS client and server required - compile wolfSSL without SINGLE_THREAED\n"); return 0; } diff --git a/embedded/tls-threaded.c b/embedded/tls-threaded.c index 7ea63369..1307a729 100644 --- a/embedded/tls-threaded.c +++ b/embedded/tls-threaded.c @@ -25,7 +25,8 @@ #include #include -#if !defined(SINGLE_THREADED) && !defined(NO_WOLFSSL_CLIENT) +#if !defined(SINGLE_THREADED) && !defined(NO_WOLFSSL_CLIENT) && \ + !defined(NO_WOLFSSL_SERVER) #include "threading.h" #include "certs.h" @@ -492,7 +493,7 @@ int main(int argc, char* argv[]) { (void)argc; (void)argv; - printf("Threading and TLS client required - compile wolfSSL without SINGLE_THREAED\n"); + printf("Threading and TLS client and server required - compile wolfSSL without SINGLE_THREAED\n"); return 0; }