From ddb1dba17855bf124651152ac42fdef2395b9564 Mon Sep 17 00:00:00 2001 From: Alexander Bruines Date: Tue, 8 Dec 2015 23:31:37 +0100 Subject: [PATCH] Access to SSL --- lib/server-handshake.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/server-handshake.c b/lib/server-handshake.c index 56c55c7ee..9862eff9a 100644 --- a/lib/server-handshake.c +++ b/lib/server-handshake.c @@ -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;