aboutsummaryrefslogtreecommitdiff
path: root/src/common/tortls.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/tortls.c')
-rw-r--r--src/common/tortls.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common/tortls.c b/src/common/tortls.c
index 271c21790..6fb6a2eae 100644
--- a/src/common/tortls.c
+++ b/src/common/tortls.c
@@ -484,3 +484,9 @@ tor_tls_verify(tor_tls *tls)
return r;
}
+int
+tor_tls_get_pending_bytees(tor_tls *tls)
+{
+ assert(tls);
+ return SSL_pending(tls->ssl);
+}