summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-05-20 15:40:42 -0400
committerNick Mathewson <nickm@torproject.org>2015-05-20 15:40:42 -0400
commit0534d46bda80cd36d6e9ba1b096f9d0aed4dcfe3 (patch)
treeb6bd21f58667bf876a99d57aec28f110a8c4c069
parented02a409cfdd51671ff1d80c86cfc7d6458f201f (diff)
downloadtor-0534d46bda80cd36d6e9ba1b096f9d0aed4dcfe3.tar.gz
tor-0534d46bda80cd36d6e9ba1b096f9d0aed4dcfe3.zip
19:38 < Yawning> nickm: you left the "+#ifndef SSL_clear_mode" block in ;_;
-rw-r--r--src/common/tortls.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/common/tortls.c b/src/common/tortls.c
index cd585f4ae5..4a1abac12c 100644
--- a/src/common/tortls.c
+++ b/src/common/tortls.c
@@ -2189,14 +2189,6 @@ tor_tls_handshake(tor_tls_t *tls)
return r;
}
-/* SSL_clear_mode was introduced in 0.9.8m */
-#ifndef SSL_clear_mode
-static void SSL_clear_mode(SSL *s, unsigned long m)
-{
- s->mode &= ~m;
-}
-#endif
-
/** Perform the final part of the intial TLS handshake on <b>tls</b>. This
* should be called for the first handshake only: it determines whether the v1
* or the v2 handshake was used, and adjusts things for the renegotiation