diff options
author | Roger Dingledine <arma@torproject.org> | 2007-12-18 21:37:58 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2007-12-18 21:37:58 +0000 |
commit | b63a247c6817e099ea3666cc31cd1d24a2cf8fb4 (patch) | |
tree | beee33270cecd56979e3e051219437a98e3e34cb /src/or/dirvote.c | |
parent | bbbf25db4d251ae25b8fe4d5a04f98cf72f7b855 (diff) | |
download | tor-b63a247c6817e099ea3666cc31cd1d24a2cf8fb4.tar.gz tor-b63a247c6817e099ea3666cc31cd1d24a2cf8fb4.zip |
Make bridge authorities test reachability of bridges.
Added two XXX020's that we need to think harder about.
svn:r12859
Diffstat (limited to 'src/or/dirvote.c')
-rw-r--r-- | src/or/dirvote.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/dirvote.c b/src/or/dirvote.c index 364dc49a44..9734880f63 100644 --- a/src/or/dirvote.c +++ b/src/or/dirvote.c @@ -40,13 +40,14 @@ format_networkstatus_vote(crypto_pk_env_t *private_signing_key, #define LONGEST_STATUS_FLAG_NAME_LEN 9 /** Maximum number of status flags we'll apply to one router. */ #define N_STATUS_FLAGS 10 -/** Amount of space to allocate for each entry. (r line and s line.) */ +/** Amount of space to allocate for each entry: r, s, and v lines. */ #define RS_ENTRY_LEN \ ( /* first line */ \ MAX_NICKNAME_LEN+BASE64_DIGEST_LEN*2+ISO_TIME_LEN+INET_NTOA_BUF_LEN+ \ 5*2 /* ports */ + 10 /* punctuation */ + \ /* second line */ \ (LONGEST_STATUS_FLAG_NAME_LEN+1)*N_STATUS_FLAGS + 2) +/* XXX020 RS_ENTRY_LEN should probably include space for v lines */ size_t len; char *status = NULL; @@ -208,7 +209,7 @@ format_networkstatus_vote(crypto_pk_env_t *private_signing_key, * ===== */ /** Given a vote <b>vote</b> (not a consensus!), return its associated - * networkstatus_voter_info_t.*/ + * networkstatus_voter_info_t. */ static networkstatus_voter_info_t * get_voter(const networkstatus_vote_t *vote) { |