client ssl: remove now meaningless check for non-server vhost
This commit is contained in:
parent
c70f6692f8
commit
d6394b6dba
1 changed files with 0 additions and 4 deletions
|
@ -468,12 +468,8 @@ int lws_context_init_client_ssl(struct lws_context_creation_info *info,
|
|||
return 0;
|
||||
}
|
||||
|
||||
if (info->port != CONTEXT_PORT_NO_LISTEN)
|
||||
return 0;
|
||||
|
||||
/* basic openssl init already happened in context init */
|
||||
|
||||
|
||||
/* choose the most recent spin of the api */
|
||||
#if defined(LWS_HAVE_TLS_CLIENT_METHOD)
|
||||
method = (SSL_METHOD *)TLS_client_method();
|
||||
|
|
Loading…
Add table
Reference in a new issue