summaryrefslogtreecommitdiff
path: root/bufferevent_openssl.c
diff options
context:
space:
mode:
authorAzat Khuzhin <azat@libevent.org>2023-05-16 21:21:48 +0200
committerAzat Khuzhin <azat@libevent.org>2023-05-16 21:21:48 +0200
commit5324e482d04b0851f0c5ef4f11f1d0ef877c3380 (patch)
tree3b120719ebe5545aca51eb767a98f9a676a9b954 /bufferevent_openssl.c
parentacfac7ae4a3edbbb7ce4ceee7208b4245a6e203e (diff)
parent49a7ae4c5668ebad7b6c4618664224c1a0bc5079 (diff)
downloadlibevent-master.tar.gz
Merge branch 'ssl-read-pull' - #1454HEADmaster
* ssl-read-pull: ssl: add some comments for lack of notify_close Drop unused le_ssl_ops::err_is_ok More SSL_read() to fill big buffer Make bufferevent_set_max_single_read() effect
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,