]> git.ipfire.org Git - thirdparty/tor.git/commit
Fix a logic error in connection_tls_continue_handshake().
authorNick Mathewson <nickm@torproject.org>
Wed, 25 Nov 2015 14:12:50 +0000 (09:12 -0500)
committerNick Mathewson <nickm@torproject.org>
Wed, 25 Nov 2015 14:17:44 +0000 (09:17 -0500)
commitdce708d11c4ec94ece2fd49b6b697df759f93ef1
tree4e1c8aeb649183d2b3805f8375cb402adba0a8ca
parent45caeec9a03d7caca13ef4d6caeda23f7bb3129e
Fix a logic error in connection_tls_continue_handshake().

(If we take the branch above this assertion, than we *didn't* have a
v1 handshake.  So if we don't take the branch, we did.  So if we
reach this assertion, we must be running as a server, since clients
no longer attempt v1 handshakes.)

Fix for bug 17654; bugfix on 9d019a7db725dca3dfdbf8d4dbc3b51835e0b49e.

Bug not in any released Tor.
src/or/connection_or.c