From: vpeter4 Date: Sun, 27 Apr 2014 10:52:21 +0000 (+0200) Subject: Compile with older OpenSSL library (missing symbol SSL_set_tlsext_host_name) X-Git-Tag: upstream/1.7.3~622 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e035f2ea3ef002f5296ac50283ae58d12657d4df;p=platform%2Fupstream%2Flibwebsockets.git Compile with older OpenSSL library (missing symbol SSL_set_tlsext_host_name) --- diff --git a/lib/client.c b/lib/client.c old mode 100644 new mode 100755 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 /*