mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-30 00:00:16 +01:00
coverity: 62212: coverity says its dead code
This commit is contained in:
parent
264c98c2c9
commit
7b847f8315
1 changed files with 0 additions and 3 deletions
|
@ -153,9 +153,6 @@ lws_tls_server_certs_load(struct lws_vhost *vhost, struct lws *wsi,
|
||||||
*/
|
*/
|
||||||
cert = NULL;
|
cert = NULL;
|
||||||
private_key = NULL;
|
private_key = NULL;
|
||||||
|
|
||||||
if (!mem_cert)
|
|
||||||
return 1;
|
|
||||||
}
|
}
|
||||||
if (lws_tls_alloc_pem_to_der_file(vhost->context, cert, mem_cert,
|
if (lws_tls_alloc_pem_to_der_file(vhost->context, cert, mem_cert,
|
||||||
mem_cert_len, &p, &flen)) {
|
mem_cert_len, &p, &flen)) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue