tor/src
George Kadianakis e2b3527106 Also handle needless renegotiations in SSL_write().
SSL_read(), SSL_write() and SSL_do_handshake() can always progress the
SSL protocol instead of their normal operation, this means that we
must be checking for needless renegotiations after they return.

Introduce tor_tls_got_excess_renegotiations() which makes the
          tls->server_handshake_count > 2
check for us, and use it in tor_tls_read() and tor_tls_write().

Cases that should not be handled:

* SSL_do_handshake() is only called by tor_tls_renegotiate() which is a
  client-only function.

* The SSL_read() in tor_tls_shutdown() does not need to be handled,
  since SSL_shutdown() will be called if SSL_read() returns an error.
2011-10-26 13:36:30 +02:00
..
common Also handle needless renegotiations in SSL_write(). 2011-10-26 13:36:30 +02:00
config Update to the September 2011 GeoIP database. 2011-09-12 11:43:51 +02:00
or Get rid of tor_tls_block_renegotiation(). 2011-10-26 13:16:14 +02:00
test Add a sha256 hmac function, with tests 2011-10-10 23:14:09 -04:00
tools Correct reference to libiphlpapi from libiphlapi 2011-08-22 17:38:43 +01:00
win32 bump to 0.2.3.5-alpha 2011-09-28 18:25:16 -04:00
Makefile.am Move testing code into new src/test directory. 2009-09-23 00:24:43 -04:00