diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-04-05 12:12:18 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-04-05 12:12:18 -0400 |
commit | c6d7e0becf33409f87c41c369cd3b561f477df2b (patch) | |
tree | 3f84139a214cc091ccc1eae8ad6ad81d798f896a /src/test/test_hs_service.c | |
parent | 2933f73b31a51ed4ffdb5c0f69c7b58d11c237b6 (diff) | |
parent | a9fa483004b0951c3fc7f8a9f5a097b917da6fa8 (diff) | |
download | tor-c6d7e0becf33409f87c41c369cd3b561f477df2b.tar.gz tor-c6d7e0becf33409f87c41c369cd3b561f477df2b.zip |
Merge remote-tracking branch 'public/split_relay_crypto'
Diffstat (limited to 'src/test/test_hs_service.c')
-rw-r--r-- | src/test/test_hs_service.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/test_hs_service.c b/src/test/test_hs_service.c index de74fdb30d..481521520c 100644 --- a/src/test/test_hs_service.c +++ b/src/test/test_hs_service.c @@ -173,12 +173,12 @@ test_e2e_rend_circuit_setup(void *arg) tt_int_op(retval, OP_EQ, 1); /* Check the digest algo */ - tt_int_op(crypto_digest_get_algorithm(or_circ->cpath->f_digest), + tt_int_op(crypto_digest_get_algorithm(or_circ->cpath->crypto.f_digest), OP_EQ, DIGEST_SHA3_256); - tt_int_op(crypto_digest_get_algorithm(or_circ->cpath->b_digest), + tt_int_op(crypto_digest_get_algorithm(or_circ->cpath->crypto.b_digest), OP_EQ, DIGEST_SHA3_256); - tt_assert(or_circ->cpath->f_crypto); - tt_assert(or_circ->cpath->b_crypto); + tt_assert(or_circ->cpath->crypto.f_crypto); + tt_assert(or_circ->cpath->crypto.b_crypto); /* Ensure that circ purpose was changed */ tt_int_op(or_circ->base_.purpose, OP_EQ, CIRCUIT_PURPOSE_S_REND_JOINED); |