aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuitlist.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-12-04 16:51:31 -0500
committerNick Mathewson <nickm@torproject.org>2013-01-03 11:29:02 -0500
commit5fa1c7484cba293e6467acbca06a4143ce9da68d (patch)
tree5a7c2003488b5882882bb8a31b9080c03080291a /src/or/circuitlist.c
parentf7e590df05b1b3568a68ee3eae3965cb58e13de7 (diff)
downloadtor-5fa1c7484cba293e6467acbca06a4143ce9da68d.tar.gz
tor-5fa1c7484cba293e6467acbca06a4143ce9da68d.zip
Refactor the CREATE_FAST handshake code to match the others.
Diffstat (limited to 'src/or/circuitlist.c')
-rw-r--r--src/or/circuitlist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/circuitlist.c b/src/or/circuitlist.c
index abb83954a4..2c17fd2bbd 100644
--- a/src/or/circuitlist.c
+++ b/src/or/circuitlist.c
@@ -23,6 +23,7 @@
#include "networkstatus.h"
#include "nodelist.h"
#include "onion.h"
+#include "onion_fast.h"
#include "relay.h"
#include "rendclient.h"
#include "rendcommon.h"
@@ -744,6 +745,7 @@ circuit_free_cpath_node(crypt_path_t *victim)
crypto_digest_free(victim->f_digest);
crypto_digest_free(victim->b_digest);
crypto_dh_free(victim->dh_handshake_state);
+ fast_handshake_state_free(victim->fast_handshake_state);
extend_info_free(victim->extend_info);
memwipe(victim, 0xBB, sizeof(crypt_path_t)); /* poison memory */