1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

Compile with older OpenSSL library (missing symbol SSL_set_tlsext_host_name)

This commit is contained in:
vpeter4 2014-04-27 12:52:21 +02:00 committed by Andy Green
parent 7c00fc3d9d
commit e035f2ea3e

2
lib/client.c Normal file → Executable file
View file

@ -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
/*