diff --git a/lib/core-net/vhost.c b/lib/core-net/vhost.c index cc6338f4b..c5c0fcd50 100644 --- a/lib/core-net/vhost.c +++ b/lib/core-net/vhost.c @@ -433,8 +433,9 @@ next: context->protocol_init_done = 1; #if defined(LWS_WITH_SERVER) - if (any) + if (any) { lws_tls_check_all_cert_lifetimes(context); + } #endif return 0;