Skip to content

Commit

Permalink
openssl-server: enum vs int disagreement
Browse files Browse the repository at this point in the history
  • Loading branch information
lws-team committed Jun 14, 2023
1 parent e8eb7d6 commit f9d1f25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/tls/openssl/openssl-server.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f9d1f25

Please sign in to comment.