diff options
author | George Kadianakis <desnacked@riseup.net> | 2019-04-26 14:20:26 +0300 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2019-05-03 18:15:26 +0300 |
commit | ea5f355fc96b6c61b40dafaea05f147f6d9ba57b (patch) | |
tree | d47d51245a10564c95b06994d0653a6bde5b9cef /src/test/test_hs_service.c | |
parent | 55d35c0caa4142f92e2efd85bffe52568c173100 (diff) | |
download | tor-ea5f355fc96b6c61b40dafaea05f147f6d9ba57b.tar.gz tor-ea5f355fc96b6c61b40dafaea05f147f6d9ba57b.zip |
Hiding crypt_path_t: Change code to use the privatization macro.
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 8a22e4d590..2a6aa5c63c 100644 --- a/src/test/test_hs_service.c +++ b/src/test/test_hs_service.c @@ -196,13 +196,13 @@ test_e2e_rend_circuit_setup(void *arg) /* Check the digest algo */ tt_int_op( - crypto_digest_get_algorithm(or_circ->cpath->private->crypto.f_digest), + crypto_digest_get_algorithm(or_circ->cpath->pvt_crypto.f_digest), OP_EQ, DIGEST_SHA3_256); tt_int_op( - crypto_digest_get_algorithm(or_circ->cpath->private->crypto.b_digest), + crypto_digest_get_algorithm(or_circ->cpath->pvt_crypto.b_digest), OP_EQ, DIGEST_SHA3_256); - tt_assert(or_circ->cpath->private->crypto.f_crypto); - tt_assert(or_circ->cpath->private->crypto.b_crypto); + tt_assert(or_circ->cpath->pvt_crypto.f_crypto); + tt_assert(or_circ->cpath->pvt_crypto.b_crypto); /* Ensure that circ purpose was changed */ tt_int_op(or_circ->base_.purpose, OP_EQ, CIRCUIT_PURPOSE_S_REND_JOINED); |