1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

windows: plat: only build client ctx init if WITH_TLS

https://github.com/warmcat/libwebsockets/issues/2385
This commit is contained in:
Andy Green 2021-08-17 06:43:10 +01:00
parent 708903cb47
commit af501eab1a

View file

@ -244,6 +244,8 @@ lws_plat_change_pollfd(struct lws_context *context, struct lws *wsi,
return 0;
}
#if defined(LWS_WITH_TLS)
int
lws_plat_vhost_tls_client_ctx_init(struct lws_vhost *vhost)
{
@ -401,6 +403,8 @@ lws_plat_vhost_tls_client_ctx_init(struct lws_vhost *vhost)
return 0;
}
#endif
const char *
lws_plat_inet_ntop(int af, const void *src, char *dst, socklen_t cnt)
{