Skip to content
Snippets Groups Projects
Commit d6394b6d authored by Andy Green's avatar Andy Green
Browse files

client ssl: remove now meaningless check for non-server vhost

parent c70f6692
No related branches found
No related tags found
No related merge requests found
...@@ -468,12 +468,8 @@ int lws_context_init_client_ssl(struct lws_context_creation_info *info, ...@@ -468,12 +468,8 @@ int lws_context_init_client_ssl(struct lws_context_creation_info *info,
return 0; return 0;
} }
if (info->port != CONTEXT_PORT_NO_LISTEN)
return 0;
/* basic openssl init already happened in context init */ /* basic openssl init already happened in context init */
/* choose the most recent spin of the api */ /* choose the most recent spin of the api */
#if defined(LWS_HAVE_TLS_CLIENT_METHOD) #if defined(LWS_HAVE_TLS_CLIENT_METHOD)
method = (SSL_METHOD *)TLS_client_method(); method = (SSL_METHOD *)TLS_client_method();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment