{"schema":"libjg2-1",
"vpath":"/git/",
"avatar":"/git/avatar/",
"alang":"",
"gen_ut":1745986873,
"reponame":"libwebsockets",
"desc":"libwebsockets lightweight C networking library",
"owner": { "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },"url":"https://libwebsockets.org/repo/libwebsockets",
"f":3,
"items": [
{"schema":"libjg2-1",
"cid":"d5423ec191519af0403d7a130d4dc898",
"commit": {"type":"commit",
"time": 1444870831,
"time_ofs": 480,
"oid_tree": { "oid": "ddad37676893bd80983321e5dcb680dbfc2e5d96", "alias": []},
"oid":{ "oid": "a739f75ee2140e85f8ae8b046fe62232ba81ee2b", "alias": []},
"msg": "ssl set session id context",
"sig_commit": { "git_time": { "time": 1444870831, "offset": 480 }, "name": "Andy Green", "email": "andy.green@linaro.org", "md5": "4863edaebb4491aa6049a4d2d9c98c2c" },
"sig_author": { "git_time": { "time": 1444870831, "offset": 480 }, "name": "Andy Green", "email": "andy.green@linaro.org", "md5": "4863edaebb4491aa6049a4d2d9c98c2c" }},
"body": "ssl set session id context\n\nVia Bruce Perens\n\nhttp://ml.libwebsockets.org/pipermail/libwebsockets/2015-June/001833.html\n\nSigned-off-by: Andy Green \u003candy.green@linaro.org\u003e"
,
"diff": "diff --git a/lib/ssl.c b/lib/ssl.c\nindex 4fa5c49..1cb8c3d 100644\n--- a/lib/ssl.c\n+++ b/lib/ssl.c\n@@ -157,6 +157,9 @@ lws_context_init_server_ssl(struct lws_context_creation_info *info,\n \n \tif (info-\u003eoptions \u0026\n \t\t\tLWS_SERVER_OPTION_REQUIRE_VALID_OPENSSL_CLIENT_CERT) {\n+\t\t\n+\t\tSSL_CTX_set_session_id_context(context-\u003essl_ctx,\n+\t\t\t\t(unsigned char *)context, sizeof(void *));\n \n \t\t/* absolutely require the client cert */\n \n","s":{"c":1745986873,"u": 3718}}
],"g": 4266,"chitpc": 0,"ehitpc": 0,"indexed":0
,
"ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}