mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
ssl store vhost in ssl private data not context
Only used by the ssl verify callback Signed-off-by: Andy Green <andy@warmcat.com>
This commit is contained in:
parent
f5efa74cb7
commit
5e799a45cc
1 changed files with 1 additions and 1 deletions
|
@ -285,7 +285,7 @@ lws_server_socket_service_ssl(struct lws *wsi, lws_sockfd_type accept_fd)
|
|||
}
|
||||
|
||||
SSL_set_ex_data(wsi->ssl,
|
||||
openssl_websocket_private_data_index, context);
|
||||
openssl_websocket_private_data_index, wsi->vhost);
|
||||
|
||||
SSL_set_fd(wsi->ssl, accept_fd);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue