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:
parent
708903cb47
commit
af501eab1a
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue