aboutsummaryrefslogtreecommitdiff
path: root/src/or/networkstatus.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-01-15 12:02:55 -0500
committerNick Mathewson <nickm@torproject.org>2011-01-15 12:02:55 -0500
commited87738ede789fb9eccfd2e5a34bd8c484dfe44e (patch)
tree27eb5efade75d368692a80d258615415deb8a7dc /src/or/networkstatus.c
parentb27f5cc50d4a66bff31e43a596eb296a1b5a11dc (diff)
parent50b06a2b76190170e9f80739f022696755b54b99 (diff)
downloadtor-ed87738ede789fb9eccfd2e5a34bd8c484dfe44e.tar.gz
tor-ed87738ede789fb9eccfd2e5a34bd8c484dfe44e.zip
Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2
Conflicts: src/or/config.c src/or/networkstatus.c src/or/rendcommon.c src/or/routerparse.c src/or/test.c
Diffstat (limited to 'src/or/networkstatus.c')
-rw-r--r--src/or/networkstatus.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c
index 94bcb41002..dfc3a45f76 100644
--- a/src/or/networkstatus.c
+++ b/src/or/networkstatus.c
@@ -439,6 +439,7 @@ networkstatus_check_document_signature(const networkstatus_t *consensus,
signed_digest = tor_malloc(signed_digest_len);
if (crypto_pk_public_checksig(cert->signing_key,
signed_digest,
+ signed_digest_len,
sig->signature,
sig->signature_len) < dlen ||
memcmp(signed_digest, consensus->digests.d[sig->alg], dlen)) {