projects
/
platform
/
upstream
/
libwebsockets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c70f669
)
client ssl: remove now meaningless check for non-server vhost
author
Andy Green
<andy@warmcat.com>
Wed, 21 Jun 2017 00:24:44 +0000
(08:24 +0800)
committer
Andy Green
<andy@warmcat.com>
Wed, 21 Jun 2017 00:24:44 +0000
(08:24 +0800)
lib/ssl-client.c
patch
|
blob
|
history
diff --git
a/lib/ssl-client.c
b/lib/ssl-client.c
index
dea9538
..
e60f10a
100644
(file)
--- 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();