diff options
author | George Kadianakis <desnacked@riseup.net> | 2016-11-02 11:37:50 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-12-14 15:18:36 -0500 |
commit | d7be1fd5197ad984d45c1d9a0a033a2b95a9fd9e (patch) | |
tree | a1e1c05d80e686cc3e5edb5c61550262da69fcc7 /src/or/rendcommon.c | |
parent | c4c90d56b543887ee9bee6553725151b09891d8e (diff) | |
download | tor-d7be1fd5197ad984d45c1d9a0a033a2b95a9fd9e.tar.gz tor-d7be1fd5197ad984d45c1d9a0a033a2b95a9fd9e.zip |
prop224: Introduce the new introduction point code.
(pun not intended)
Now our code supports both legacy and prop224 ESTABLISH_INTRO cells :)
hs_intro_received_establish_intro() is the new entry point.
Diffstat (limited to 'src/or/rendcommon.c')
-rw-r--r-- | src/or/rendcommon.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/rendcommon.c b/src/or/rendcommon.c index f2060e528c..def51b7986 100644 --- a/src/or/rendcommon.c +++ b/src/or/rendcommon.c @@ -16,6 +16,7 @@ #include "rendclient.h" #include "rendcommon.h" #include "rendmid.h" +#include "hs_intropoint.h" #include "rendservice.h" #include "rephist.h" #include "router.h" @@ -762,7 +763,7 @@ rend_process_relay_cell(circuit_t *circ, const crypt_path_t *layer_hint, switch (command) { case RELAY_COMMAND_ESTABLISH_INTRO: if (or_circ) - r = rend_mid_establish_intro(or_circ,payload,length); + r = hs_intro_received_establish_intro(or_circ,payload,length); break; case RELAY_COMMAND_ESTABLISH_RENDEZVOUS: if (or_circ) |