[tor-commits] [tor/release-0.2.4] check bounds on handshake_type more thoroughly