1
0
Fork 0
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:
Andy Green 2019-02-22 06:45:25 +08:00
parent 572ffb4a7c
commit 30d992dbe2

View file

@ -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;