diff options
author | Nick Mathewson <nickm@torproject.org> | 2021-09-14 15:01:45 -0400 |
---|---|---|
committer | Mike Perry <mikeperry-git@torproject.org> | 2022-02-22 19:28:33 +0000 |
commit | bd2e9a44097ff85934bc1c34f4fce2017a7a92c8 (patch) | |
tree | 90f31985afb3132ff57645be058e5774830941db /src/core/or/or.h | |
parent | 244444e8b1ac36bf9148aa656e4eb9e293daa5b4 (diff) | |
download | tor-bd2e9a44097ff85934bc1c34f4fce2017a7a92c8.tar.gz tor-bd2e9a44097ff85934bc1c34f4fce2017a7a92c8.zip |
Implement core of ntor3 negotiation.
There are a lot of TODOs about what to send, whom to send it to, and
etc.
Diffstat (limited to 'src/core/or/or.h')
-rw-r--r-- | src/core/or/or.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/or/or.h b/src/core/or/or.h index 392a848ee7..3911797563 100644 --- a/src/core/or/or.h +++ b/src/core/or/or.h @@ -790,7 +790,8 @@ typedef enum { #define ONION_HANDSHAKE_TYPE_TAP 0x0000 #define ONION_HANDSHAKE_TYPE_FAST 0x0001 #define ONION_HANDSHAKE_TYPE_NTOR 0x0002 -#define MAX_ONION_HANDSHAKE_TYPE 0x0002 +#define ONION_HANDSHAKE_TYPE_NTOR_V3 0x0003 /* TODO: Add to spec */ +#define MAX_ONION_HANDSHAKE_TYPE 0x0003 typedef struct onion_handshake_state_t onion_handshake_state_t; typedef struct relay_crypto_t relay_crypto_t; |