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:
7c00fc3
)
Compile with older OpenSSL library (missing symbol SSL_set_tlsext_host_name)
author
vpeter4
<peter.vicman@gmail.com>
Sun, 27 Apr 2014 10:52:21 +0000
(12:52 +0200)
committer
Andy Green
<andy.green@linaro.org>
Sun, 27 Apr 2014 23:32:13 +0000
(07:32 +0800)
lib/client.c
[changed mode: 0644->0755]
patch
|
blob
|
history
diff --git
a/lib/client.c
b/lib/client.c
old mode 100644
(file)
new mode 100755
(executable)
index
d0265bf
..
a87ef2a
--- a/
lib/client.c
+++ b/
lib/client.c
@@
-149,8
+149,10
@@
int lws_client_socket_service(struct libwebsocket_context *context,
hostname, strlen(hostname));
#endif
#else
+#ifdef SSL_CTRL_SET_TLSEXT_HOSTNAME
SSL_set_tlsext_host_name(wsi->ssl, hostname);
#endif
+#endif
#ifdef USE_CYASSL
/*