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:
parent
7c00fc3d9d
commit
e035f2ea3e
1 changed files with 2 additions and 0 deletions
2
lib/client.c
Normal file → Executable file
2
lib/client.c
Normal file → Executable 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
|
||||
/*
|
||||
|
|
Loading…
Add table
Reference in a new issue