ssl: wolfssl doesn't have clear options
https://github.com/warmcat/libwebsockets/issues/741
This commit is contained in:
parent
c9d165bbcc
commit
da6f03b423
1 changed files with 1 additions and 1 deletions
|
@ -394,7 +394,7 @@ lws_context_init_server_ssl(struct lws_context_creation_info *info,
|
|||
SSL_CTX_set_options(vhost->ssl_ctx, info->ssl_options_set);
|
||||
|
||||
/* SSL_clear_options introduced in 0.9.8m */
|
||||
#if (OPENSSL_VERSION_NUMBER >= 0x009080df)
|
||||
#if (OPENSSL_VERSION_NUMBER >= 0x009080df) && !defined(USE_WOLFSSL)
|
||||
if (info->ssl_options_clear)
|
||||
SSL_CTX_clear_options(vhost->ssl_ctx, info->ssl_options_clear);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue