Project homepage Mailing List  Warmcat.com  API Docs  Github Mirror 
{"schema":"libjg2-1", "vpath":"/git/", "avatar":"/git/avatar/", "alang":"", "gen_ut":1752654747, "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":"ab485dd59bd24fef72f571c0c725788d", "commit": {"type":"commit", "time": 1597755654, "time_ofs": 60, "oid_tree": { "oid": "f8c6ee68c1baaa56b7899f356629616b93ab6cab", "alias": []}, "oid":{ "oid": "7b847f8315ba5e4f478eb07dd16cf511750547e6", "alias": []}, "msg": "coverity: 62212: coverity says its dead code", "sig_commit": { "git_time": { "time": 1597755654, "offset": 60 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" }, "sig_author": { "git_time": { "time": 1597751502, "offset": 60 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" }}, "body": "coverity: 62212: coverity says its dead code" , "diff": "diff --git a/lib/tls/mbedtls/mbedtls-server.c b/lib/tls/mbedtls/mbedtls-server.c\nindex db1c806..cd91749 100644\n--- a/lib/tls/mbedtls/mbedtls-server.c\n+++ b/lib/tls/mbedtls/mbedtls-server.c\n@@ -153,9 +153,6 @@ lws_tls_server_certs_load(struct lws_vhost *vhost, struct lws *wsi,\n \t\t */\n \t\tcert \u003d NULL;\n \t\tprivate_key \u003d NULL;\n-\n-\t\tif (!mem_cert)\n-\t\t\treturn 1;\n \t}\n \tif (lws_tls_alloc_pem_to_der_file(vhost-\u003econtext, cert, mem_cert,\n \t\t\t\t\t mem_cert_len, \u0026p, \u0026flen)) {\n","s":{"c":1752654747,"u": 1983}} ],"g": 2575,"chitpc": 0,"ehitpc": 0,"indexed":0 , "ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}