]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
19:38 < Yawning> nickm: you left the "+#ifndef SSL_clear_mode" block in ;_;
authorNick Mathewson <nickm@torproject.org>
Wed, 20 May 2015 19:40:42 +0000 (15:40 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 20 May 2015 19:40:42 +0000 (15:40 -0400)
src/common/tortls.c

index cd585f4ae5a0aac608c7b2c0000f6c63b139dbb5..4a1abac12c426e1e11b470729fc86c85d1adaf7a 100644 (file)
@@ -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