mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
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
e7c1c757cd
commit
7c2d5964f7
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