summaryrefslogtreecommitdiff
path: root/src/common/tortls.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2010-09-27 16:07:14 -0400
committerNick Mathewson <nickm@torproject.org>2010-09-27 16:07:14 -0400
commit6950749c0afae7b7c1b6f9a311275d0ae86bbeb5 (patch)
tree33797b3e031e281b47d055dd19585555c6b6050b /src/common/tortls.c
parent21e5f3c43197b4d844e25b5de8ff59c3304fd3dd (diff)
downloadtor-6950749c0afae7b7c1b6f9a311275d0ae86bbeb5.tar.gz
tor-6950749c0afae7b7c1b6f9a311275d0ae86bbeb5.zip
Make the bufferevent code use the renegotiation-reenabling hack
Diffstat (limited to 'src/common/tortls.c')
-rw-r--r--src/common/tortls.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/common/tortls.c b/src/common/tortls.c
index bd6840af70..ce5411a55e 100644
--- a/src/common/tortls.c
+++ b/src/common/tortls.c
@@ -195,7 +195,6 @@ static X509* tor_tls_create_certificate(crypto_pk_env_t *rsa,
const char *cname,
const char *cname_sign,
unsigned int lifetime);
-static void tor_tls_unblock_renegotiation(tor_tls_t *tls);
/** Global tls context. We keep it here because nobody else needs to
* touch it. */
@@ -1032,7 +1031,7 @@ tor_tls_set_renegotiate_callback(tor_tls_t *tls,
/** If this version of openssl requires it, turn on renegotiation on
* <b>tls</b>.
*/
-static void
+void
tor_tls_unblock_renegotiation(tor_tls_t *tls)
{
/* Yes, we know what we are doing here. No, we do not treat a renegotiation