diff options
Diffstat (limited to 'src/test/test_relaycrypt.c')
-rw-r--r-- | src/test/test_relaycrypt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_relaycrypt.c b/src/test/test_relaycrypt.c index a3a102e73b..1977958d1f 100644 --- a/src/test/test_relaycrypt.c +++ b/src/test/test_relaycrypt.c @@ -54,7 +54,7 @@ testing_circuitset_setup(const struct testcase_t *testcase) relay_crypto_init(&hop->private->crypto, KEY_MATERIAL[i], sizeof(KEY_MATERIAL[i]), 0, 0); hop->state = CPATH_STATE_OPEN; - onion_append_to_cpath(&cs->origin_circ->cpath, hop); + cpath_extend_linked_list(&cs->origin_circ->cpath, hop); tt_ptr_op(hop, OP_EQ, cs->origin_circ->cpath->prev); } |