summaryrefslogtreecommitdiff
path: root/src/common/tortls.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-05-13 12:12:53 -0400
committerNick Mathewson <nickm@torproject.org>2015-05-13 12:12:53 -0400
commitd55db221e8ed993fa5cf4dd7bdaca62b1610d982 (patch)
tree210dd980c98fd2f5ae44adddfede23aefbbf6ebf /src/common/tortls.h
parent34451c7a453564f16194cf060444785fea2f971e (diff)
downloadtor-d55db221e8ed993fa5cf4dd7bdaca62b1610d982.tar.gz
tor-d55db221e8ed993fa5cf4dd7bdaca62b1610d982.zip
tor_tls_get_buffer_sizes() will not work on openssl 1.1. Patch from yawning
Diffstat (limited to 'src/common/tortls.h')
-rw-r--r--src/common/tortls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/tortls.h b/src/common/tortls.h
index f8c6d5913b..5e1606f42d 100644
--- a/src/common/tortls.h
+++ b/src/common/tortls.h
@@ -92,7 +92,7 @@ size_t tor_tls_get_forced_write_size(tor_tls_t *tls);
void tor_tls_get_n_raw_bytes(tor_tls_t *tls,
size_t *n_read, size_t *n_written);
-void tor_tls_get_buffer_sizes(tor_tls_t *tls,
+int tor_tls_get_buffer_sizes(tor_tls_t *tls,
size_t *rbuf_capacity, size_t *rbuf_bytes,
size_t *wbuf_capacity, size_t *wbuf_bytes);