diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-01-24 17:51:52 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-01-24 17:51:52 -0500 |
commit | aaa5737a2e6141bdff13f03051500d2f0ce84861 (patch) | |
tree | 48092b2a74632078dc0163f90969d52952b3758b /src/or/rendclient.c | |
parent | c496229b0a8d90a327674a03aa5be455014b4d5c (diff) | |
parent | 5ed73e3807d90dd0a3a2e5542f98a0a58374a066 (diff) | |
download | tor-aaa5737a2e6141bdff13f03051500d2f0ce84861.tar tor-aaa5737a2e6141bdff13f03051500d2f0ce84861.tar.gz |
Merge remote branch 'origin/maint-0.2.2'
Diffstat (limited to 'src/or/rendclient.c')
-rw-r--r-- | src/or/rendclient.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rendclient.c b/src/or/rendclient.c index 255c16bf0..7b71850ae 100644 --- a/src/or/rendclient.c +++ b/src/or/rendclient.c @@ -122,7 +122,7 @@ rend_client_send_introduction(origin_circuit_t *introcirc, cpath = rendcirc->build_state->pending_final_cpath = tor_malloc_zero(sizeof(crypt_path_t)); cpath->magic = CRYPT_PATH_MAGIC; - if (!(cpath->dh_handshake_state = crypto_dh_new())) { + if (!(cpath->dh_handshake_state = crypto_dh_new(DH_TYPE_REND))) { log_warn(LD_BUG, "Internal error: couldn't allocate DH."); goto err; } |