diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-06-20 08:48:09 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-06-20 08:48:09 -0400 |
commit | 6cedd4932352929496d8e017500362fafd367f18 (patch) | |
tree | 3f15189a3be369c561f3bdef0d7b7ede1dc6f273 /src/or/networkstatus.c | |
parent | 1160ac1283a076acc6c660827ebeb84a111f27cc (diff) | |
parent | 568dc27a1943305f6e11a9a497f56a6aabe27c99 (diff) | |
download | tor-6cedd4932352929496d8e017500362fafd367f18.tar.gz tor-6cedd4932352929496d8e017500362fafd367f18.zip |
Merge branch 'bug14013_029_01_squashed'
Diffstat (limited to 'src/or/networkstatus.c')
-rw-r--r-- | src/or/networkstatus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c index 5a91dda386..da51698da4 100644 --- a/src/or/networkstatus.c +++ b/src/or/networkstatus.c @@ -2216,7 +2216,7 @@ getinfo_helper_networkstatus(control_connection_t *conn, if (*q == '$') ++q; - if (base16_decode(d, DIGEST_LEN, q, strlen(q))) { + if (base16_decode(d, DIGEST_LEN, q, strlen(q)) != DIGEST_LEN) { *errmsg = "Data not decodeable as hex"; return -1; } |