aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_relaycrypt.c
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2019-04-26 14:20:26 +0300
committerGeorge Kadianakis <desnacked@riseup.net>2019-05-03 18:15:26 +0300
commitea5f355fc96b6c61b40dafaea05f147f6d9ba57b (patch)
treed47d51245a10564c95b06994d0653a6bde5b9cef /src/test/test_relaycrypt.c
parent55d35c0caa4142f92e2efd85bffe52568c173100 (diff)
downloadtor-ea5f355fc96b6c61b40dafaea05f147f6d9ba57b.tar.gz
tor-ea5f355fc96b6c61b40dafaea05f147f6d9ba57b.zip
Hiding crypt_path_t: Change code to use the privatization macro.
Diffstat (limited to 'src/test/test_relaycrypt.c')
-rw-r--r--src/test/test_relaycrypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_relaycrypt.c b/src/test/test_relaycrypt.c
index 5dc6b47d74..4bbf07c3ec 100644
--- a/src/test/test_relaycrypt.c
+++ b/src/test/test_relaycrypt.c
@@ -51,7 +51,7 @@ testing_circuitset_setup(const struct testcase_t *testcase)
cs->origin_circ->base_.purpose = CIRCUIT_PURPOSE_C_GENERAL;
for (i=0; i<3; ++i) {
crypt_path_t *hop = tor_malloc_zero(sizeof(*hop));
- relay_crypto_init(&hop->private->crypto, KEY_MATERIAL[i],
+ relay_crypto_init(&hop->pvt_crypto, KEY_MATERIAL[i],
sizeof(KEY_MATERIAL[i]), 0, 0);
hop->state = CPATH_STATE_OPEN;
cpath_extend_linked_list(&cs->origin_circ->cpath, hop);