From d6394b6dba84e23b0e536965dcd457b26ca69d94 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Wed, 21 Jun 2017 08:24:44 +0800 Subject: [PATCH] client ssl: remove now meaningless check for non-server vhost --- lib/ssl-client.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/ssl-client.c b/lib/ssl-client.c index dea9538..e60f10a 100644 --- a/lib/ssl-client.c +++ b/lib/ssl-client.c @@ -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(); -- 2.7.4