Project homepage Mailing List  Warmcat.com  API Docs  Github Mirror 
{"schema":"libjg2-1", "vpath":"/git/", "avatar":"/git/avatar/", "alang":"", "gen_ut":1753495652, "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":"822fe94d07ba8e62292da9e9f0d0b98f", "commit": {"type":"commit", "time": 1753422615, "time_ofs": 60, "oid_tree": { "oid": "5518c29cc6b652c6abbd79d4cd489e83d4e5b203", "alias": []}, "oid":{ "oid": "d2718a0449c344fc5cca082b03d5cdbf7e1ef90a", "alias": [ "refs/heads/main"]}, "msg": "mbedtls: dont try to use absent ssl", "sig_commit": { "git_time": { "time": 1753422615, "offset": 60 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" }, "sig_author": { "git_time": { "time": 1753421002, "offset": 60 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" }}, "body": "mbedtls: dont try to use absent ssl\n" , "diff": "diff --git a/lib/tls/mbedtls/mbedtls-x509.c b/lib/tls/mbedtls/mbedtls-x509.c\nindex 8b0ccd3..ffb54b3 100644\n--- a/lib/tls/mbedtls/mbedtls-x509.c\n+++ b/lib/tls/mbedtls/mbedtls-x509.c\n@@ -293,6 +293,9 @@ lws_tls_peer_cert_info(struct lws *wsi, enum lws_tls_cert_info type,\n \n \twsi \u003d lws_get_network_wsi(wsi);\n \n+\tif (!wsi-\u003etls.ssl)\n+\t\treturn -1;\n+\n \tx509 \u003d ssl_get_peer_mbedtls_x509_crt(wsi-\u003etls.ssl);\n \n \tif (!x509)\n","s":{"c":1753495652,"u": 5774}} ],"g": 6796,"chitpc": 0,"ehitpc": 0,"indexed":0 , "ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}