diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-11-06 21:33:53 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-11-06 21:33:53 -0500 |
commit | 8e8c0674c4729a6aa39ded658e800baa654fe289 (patch) | |
tree | 5c32d38030f3a1e87e10bcb18908c85015afd984 /src/or/connection_or.c | |
parent | 1c0e87f6d8c7a0abdadf1b5cd9082c10abc7f4e2 (diff) | |
download | tor-8e8c0674c4729a6aa39ded658e800baa654fe289.tar.gz tor-8e8c0674c4729a6aa39ded658e800baa654fe289.zip |
Implement proposal-214 rules for CircID checking.
Diffstat (limited to 'src/or/connection_or.c')
-rw-r--r-- | src/or/connection_or.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/connection_or.c b/src/or/connection_or.c index 0775eb5c40..63bdd9a5e9 100644 --- a/src/or/connection_or.c +++ b/src/or/connection_or.c @@ -1554,7 +1554,8 @@ connection_or_check_valid_tls_handshake(or_connection_t *conn, } tor_assert(conn->chan); - channel_set_circid_type(TLS_CHAN_TO_BASE(conn->chan), identity_rcvd); + channel_set_circid_type(TLS_CHAN_TO_BASE(conn->chan), identity_rcvd, 1); + crypto_pk_free(identity_rcvd); if (started_here) |