Rework error interface

This commit is contained in:
2023-01-12 12:54:23 +01:00
parent 4814035b62
commit 5acab8144d
9 changed files with 148 additions and 100 deletions

View File

@ -105,7 +105,7 @@ static int tcp_acceptor(client_ctx_t *ctx) {
ret = SSL_accept(client->ssl);
if (ret != 1) {
error_ssl(SSL_get_error(client->ssl, ret));
sock_error(client, ret);
info("Unable to perform handshake");
return -1;
}