diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-04-06 20:23:58 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-04-06 20:23:58 +0000 |
commit | ef438b894cf51a9bb2feeae6c8b8c6f37d187c73 (patch) | |
tree | 6002e61c2ea034e94158e6c5917fff1746fa1f39 /src/or/rendservice.c | |
parent | 6290d027c97ecdf2b6c75762fcc226ea006d0be3 (diff) | |
download | tor-ef438b894cf51a9bb2feeae6c8b8c6f37d187c73.tar.gz tor-ef438b894cf51a9bb2feeae6c8b8c6f37d187c73.zip |
Set handshake_state to NULL before appending cpath hops
svn:r1505
Diffstat (limited to 'src/or/rendservice.c')
-rw-r--r-- | src/or/rendservice.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c index c4dcd0979c..4325ec9e7a 100644 --- a/src/or/rendservice.c +++ b/src/or/rendservice.c @@ -588,6 +588,9 @@ rend_service_rendezvous_is_ready(circuit_t *circuit) goto err; } + crypto_dh_free(hop->handshake_state); + hop->handshake_state = NULL; + /* Append the cpath entry. */ hop->state = CPATH_STATE_OPEN; onion_append_to_cpath(&circuit->cpath, hop); |