diff options
author | George Kadianakis <desnacked@riseup.net> | 2019-04-08 15:43:23 +0300 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2019-05-03 18:15:11 +0300 |
commit | 18d61c0e6e71dace189384c8af7f4fec158969b3 (patch) | |
tree | 5bb9ffb0416667bae6e4923e96e79b90211478ab /src/test/test_circuitpadding.c | |
parent | 4bd0c4852aad724fd9639f5250c5893341cd5935 (diff) | |
download | tor-18d61c0e6e71dace189384c8af7f4fec158969b3.tar.gz tor-18d61c0e6e71dace189384c8af7f4fec158969b3.zip |
Hiding crypt_path_t: Fixup broken unittests.
Diffstat (limited to 'src/test/test_circuitpadding.c')
-rw-r--r-- | src/test/test_circuitpadding.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/test_circuitpadding.c b/src/test/test_circuitpadding.c index e24506d9bb..8a2667e802 100644 --- a/src/test/test_circuitpadding.c +++ b/src/test/test_circuitpadding.c @@ -2,6 +2,7 @@ #define TOR_TIMERS_PRIVATE #define CIRCUITPADDING_PRIVATE #define NETWORKSTATUS_PRIVATE +#define CRYPT_PATH_PRIVATE #include "core/or/or.h" #include "test.h" @@ -149,7 +150,7 @@ new_fake_orcirc(channel_t *nchan, channel_t *pchan) log_warn(LD_BUG,"Circuit initialization failed"); return NULL; } - orcirc->crypto = tmp_cpath.crypto; + orcirc->crypto = tmp_cpath.private->crypto; return orcirc; } |