mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
clean: LWS_SSL_ENABLED use vh as the macro arg name to clarify what should be given
This commit is contained in:
parent
572ffb4a7c
commit
30d992dbe2
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ typedef X509 lws_tls_x509;
|
|||
|
||||
LWS_EXTERN int
|
||||
lws_context_init_ssl_library(const struct lws_context_creation_info *info);
|
||||
#define LWS_SSL_ENABLED(context) (context->tls.use_ssl)
|
||||
#define LWS_SSL_ENABLED(vh) (vh && vh->tls.use_ssl)
|
||||
|
||||
extern const struct lws_tls_ops tls_ops_openssl, tls_ops_mbedtls;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue