ssl set session id context

Via Bruce Perens

http://ml.libwebsockets.org/pipermail/libwebsockets/2015-June/001833.html

Signed-off-by: Andy Green <andy.green@linaro.org>
diff --git a/lib/ssl.c b/lib/ssl.c
index 4fa5c49..1cb8c3d 100644
--- a/lib/ssl.c
+++ b/lib/ssl.c
@@ -157,6 +157,9 @@
 
 	if (info->options &
 			LWS_SERVER_OPTION_REQUIRE_VALID_OPENSSL_CLIENT_CERT) {
+		
+		SSL_CTX_set_session_id_context(context->ssl_ctx,
+				(unsigned char *)context, sizeof(void *));
 
 		/* absolutely require the client cert */