diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-05-17 12:53:12 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-05-17 12:53:12 -0400 |
commit | 44da47d3c1e4809d5aaf91cd708c6f02b01a5396 (patch) | |
tree | 615791b0f68396516f4b0e285539010d2cf074d3 /src/or/routerparse.c | |
parent | 4165b1a0da893a9f67a2ba32b4fcd54a7804ce14 (diff) | |
download | tor-44da47d3c1e4809d5aaf91cd708c6f02b01a5396.tar.gz tor-44da47d3c1e4809d5aaf91cd708c6f02b01a5396.zip |
Move extra_info_digest256 into signed_descriptor_t
This patch includes no semantic changes; it's just a field movement.
It's prerequisite for a fix to 19017/17150.
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r-- | src/or/routerparse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c index 6b6e21d5d0..bc6c35fe09 100644 --- a/src/or/routerparse.c +++ b/src/or/routerparse.c @@ -1597,7 +1597,7 @@ router_parse_entry_from_string(const char *s, const char *end, } if (tok->n_args >= 2) { - if (digest256_from_base64(router->extra_info_digest256, tok->args[1]) + if (digest256_from_base64(router->cache_info.extra_info_digest256, tok->args[1]) < 0) { log_warn(LD_DIR, "Invalid extra info digest256 %s", escaped(tok->args[1])); |