lws_ssl_client_connect2 remove duplicate close on error path
https://github.com/warmcat/libwebsockets/issues/532 Signed-off-by: Andy Green <andy@warmcat.com>
This commit is contained in:
parent
5f0dc8f4e6
commit
e746a993d0
1 changed files with 0 additions and 1 deletions
|
@ -278,7 +278,6 @@ lws_ssl_client_connect2(struct lws *wsi)
|
|||
lwsl_err("server's cert didn't look good, X509_V_ERR = %d: %s\n",
|
||||
n, ERR_error_string(n, sb));
|
||||
lws_ssl_elaborate_error();
|
||||
lws_close_free_wsi(wsi, LWS_CLOSE_STATUS_NOSTATUS);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue