tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit 1d868e3c27a4a1e1250fba8eb7f7e8836dbed55a
parent d3f560929f20bf9b8565ab6a00cc05106573b7da
Author: Nick Mathewson <nickm@torproject.org>
Date:   Thu, 24 Apr 2025 14:20:02 -0400

Renumber OR_CONN_STATE_*

Diffstat:
Msrc/core/or/orconn_event.h | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/core/or/orconn_event.h b/src/core/or/orconn_event.h @@ -36,14 +36,14 @@ #define OR_CONN_STATE_TLS_HANDSHAKING 3 /** State for a connection at an OR: We're waiting for the client to * send a versions cell (to indicate a v3+ handshake) */ -#define OR_CONN_STATE_SERVER_VERSIONS_WAIT 5 +#define OR_CONN_STATE_SERVER_VERSIONS_WAIT 4 /** State for an OR connection: We're done with our SSL handshake, but we * haven't yet negotiated link protocol versions, done a V3 handshake, and * sent a netinfo cell. */ -#define OR_CONN_STATE_OR_HANDSHAKING_V3 7 +#define OR_CONN_STATE_OR_HANDSHAKING_V3 5 /** State for an OR connection: Ready to send/receive cells. */ -#define OR_CONN_STATE_OPEN 8 -#define OR_CONN_STATE_MAX_ 8 +#define OR_CONN_STATE_OPEN 6 +#define OR_CONN_STATE_MAX_ 6 /** @} */ /** Used to indicate the type of an OR connection event passed to the