summaryrefslogtreecommitdiff
path: root/bufferevent_openssl.c
diff options
context:
space:
mode:
authorAzat Khuzhin <azat@libevent.org>2023-05-16 21:16:33 +0200
committerAzat Khuzhin <azat@libevent.org>2023-05-16 21:20:21 +0200
commite5941b2ce963a9175e918029cb6973a7265976e2 (patch)
tree1d98b008d4ac5d675a815e0f8fbf7749d990bf6b /bufferevent_openssl.c
parentef51444f439b922c8fb00c7ef3f8482b6400b6ea (diff)
downloadlibevent-e5941b2ce963a9175e918029cb6973a7265976e2.tar.gz
Drop unused le_ssl_ops::err_is_ok
It is not used anymore since errors are ignored if some progress had been done.
Diffstat (limited to 'bufferevent_openssl.c')
-rw-r--r--bufferevent_openssl.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/bufferevent_openssl.c b/bufferevent_openssl.c
index 4ef3925a..f5d0808c 100644
--- a/bufferevent_openssl.c
+++ b/bufferevent_openssl.c
@@ -346,13 +346,6 @@ SSL_handshake_is_ok(int err)
}
static int
-SSL_err_is_ok(int err)
-{
- /* What SSL_read() returns when the we can proceed existing data */
- return err == SSL_ERROR_ZERO_RETURN;
-}
-
-static int
SSL_is_want_read(int err)
{
return err == SSL_ERROR_WANT_READ;
@@ -424,7 +417,6 @@ static struct le_ssl_ops le_openssl_ops = {
SSL_handshake_is_ok,
SSL_is_want_read,
SSL_is_want_write,
- SSL_err_is_ok,
(int (*)(void *))be_openssl_get_fd,
be_openssl_bio_set_fd,
init_bio_counts,