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

Access to SSL

This commit is contained in:
Alexander Bruines 2015-12-08 23:31:37 +01:00
parent ee435adb7c
commit ddb1dba178

View file

@ -264,7 +264,13 @@ handshake_0405(struct lws_context *context, struct lws *wsi)
if (wsi->protocol->callback)
wsi->protocol->callback(wsi->protocol->owning_server,
wsi, LWS_CALLBACK_ESTABLISHED,
wsi->user_space, NULL, 0);
wsi->user_space,
#ifdef LWS_OPENSSL_SUPPORT
wsi->ssl,
#else
NULL,
#endif
0);
return 0;