summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-05-17 12:53:12 -0400
committerNick Mathewson <nickm@torproject.org>2016-05-17 12:53:12 -0400
commit44da47d3c1e4809d5aaf91cd708c6f02b01a5396 (patch)
tree615791b0f68396516f4b0e285539010d2cf074d3 /src/or/or.h
parent4165b1a0da893a9f67a2ba32b4fcd54a7804ce14 (diff)
downloadtor-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/or.h')
-rw-r--r--src/or/or.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 431927c7e7..e0f2eb416a 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -1993,6 +1993,8 @@ typedef struct signed_descriptor_t {
time_t published_on;
/** For routerdescs only: digest of the corresponding extrainfo. */
char extra_info_digest[DIGEST_LEN];
+ /** For routerdescs only: A SHA256-digest of the extrainfo (if any) */
+ char extra_info_digest256[DIGEST256_LEN];
/** For routerdescs only: Status of downloading the corresponding
* extrainfo. */
download_status_t ei_dl_status;
@@ -2024,8 +2026,6 @@ typedef int16_t country_t;
/** Information about another onion router in the network. */
typedef struct {
signed_descriptor_t cache_info;
- /** A SHA256-digest of the extrainfo (if any) */
- char extra_info_digest256[DIGEST256_LEN];
char *nickname; /**< Human-readable OR name. */
uint32_t addr; /**< IPv4 address of OR, in host order. */