mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
fix build without ssl support
Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
parent
9ffe40112b
commit
fc9871ec24
1 changed files with 4 additions and 0 deletions
|
@ -767,7 +767,11 @@ LWS_VISIBLE void lws_set_log_level(int level, void (*log_emit_function)(int leve
|
|||
LWS_VISIBLE int
|
||||
lws_is_ssl(struct libwebsocket *wsi)
|
||||
{
|
||||
#ifdef LWS_OPENSSL_SUPPORT
|
||||
return wsi->use_ssl;
|
||||
#else
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue