mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-30 00:00:16 +01:00
openssl-server: enum vs int disagreement
https://github.com/warmcat/libwebsockets/issues/2907
This commit is contained in:
parent
e8eb7d6bd6
commit
f9d1f25abe
1 changed files with 2 additions and 2 deletions
|
@ -699,14 +699,14 @@ lws_tls_server_new_nonblocking(struct lws *wsi, lws_sockfd_type accept_fd)
|
|||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
enum lws_ssl_capable_status
|
||||
lws_tls_server_abort_connection(struct lws *wsi)
|
||||
{
|
||||
if (wsi->tls.use_ssl)
|
||||
SSL_shutdown(wsi->tls.ssl);
|
||||
SSL_free(wsi->tls.ssl);
|
||||
|
||||
return 0;
|
||||
return LWS_SSL_CAPABLE_DONE;
|
||||
}
|
||||
|
||||
enum lws_ssl_capable_status
|
||||
|
|
Loading…
Add table
Reference in a new issue