aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_microdesc.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-05-17 20:04:16 -0400
committerNick Mathewson <nickm@torproject.org>2016-05-17 20:04:16 -0400
commitab932cd7bfb7e4cfe9c33416ca45e56448c57b58 (patch)
tree47239632cadcff44aac214be557a54ac64dc2e13 /src/test/test_microdesc.c
parent3f49474349538be499ab485c697c147c8829fa0d (diff)
downloadtor-ab932cd7bfb7e4cfe9c33416ca45e56448c57b58.tar.gz
tor-ab932cd7bfb7e4cfe9c33416ca45e56448c57b58.zip
Remove duplicate siging_key_cert fields.
With the fix for #17150, I added a duplicate certificate here. Here I remove the original location in 0.2.8. (I wouldn't want to do that in 027, due to the amount of authority-voting-related code drift.) Closes 19073.
Diffstat (limited to 'src/test/test_microdesc.c')
-rw-r--r--src/test/test_microdesc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_microdesc.c b/src/test/test_microdesc.c
index 7db819a622..581f58b45f 100644
--- a/src/test/test_microdesc.c
+++ b/src/test/test_microdesc.c
@@ -483,7 +483,7 @@ test_md_generate(void *arg)
md = dirvote_create_microdescriptor(ri, 21);
tt_str_op(md->body, ==, test_md2_21);
tt_assert(ed25519_pubkey_eq(md->ed25519_identity_pkey,
- &ri->signing_key_cert->signing_key));
+ &ri->cache_info.signing_key_cert->signing_key));
done:
microdesc_free(md);