diff options
author | George Kadianakis <desnacked@riseup.net> | 2017-05-02 16:19:12 +0300 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-07-07 11:12:26 -0400 |
commit | 83249015c2741be55cf3d084660e6209323b5a1a (patch) | |
tree | 8383e455956f8ed8f202db1ee24bc440e020e847 /src/or/rendclient.c | |
parent | ba928e1ac8f13714aa6b619dd6f12ae89240d6ff (diff) | |
download | tor-83249015c2741be55cf3d084660e6209323b5a1a.tar.gz tor-83249015c2741be55cf3d084660e6209323b5a1a.zip |
Refactor circuit_init_cpath_crypto() to do prop224 rend circuits.
circuit_init_cpath_crypto() is responsible for creating the cpath of legacy
SHA1/AES128 circuits currently. We want to use it for prop224 circuits, so we
refactor it to create circuits with SHA3-256 and AES256 as well.
Signed-off-by: David Goulet <dgoulet@torproject.org>
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 9bc2d6289d..3cf67b56e3 100644 --- a/src/or/rendclient.c +++ b/src/or/rendclient.c @@ -1184,7 +1184,7 @@ rend_client_receive_rendezvous(origin_circuit_t *circ, const uint8_t *request, goto err; } /* ... and set up cpath. */ - if (circuit_init_cpath_crypto(hop, keys+DIGEST_LEN, 0)<0) + if (circuit_init_cpath_crypto(hop, keys+DIGEST_LEN, 0, 0)<0) goto err; /* Check whether the digest is right... */ |