summaryrefslogtreecommitdiff
path: root/src/or/networkstatus.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-01-15 12:03:44 -0500
committerNick Mathewson <nickm@torproject.org>2011-01-15 12:03:44 -0500
commit1b8f2ef5505a3ee4d824abf70141e1ad8b48e66c (patch)
tree84ca91d89a48f063b905771834cf9b6f5c3f94bd /src/or/networkstatus.c
parentb7b01d963af19497df2d23fd558ff408a12a669b (diff)
parented87738ede789fb9eccfd2e5a34bd8c484dfe44e (diff)
downloadtor-1b8f2ef5505a3ee4d824abf70141e1ad8b48e66c.tar.gz
tor-1b8f2ef5505a3ee4d824abf70141e1ad8b48e66c.zip
Merge remote branch 'origin/maint-0.2.2'
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 405db12591..68dc9f6712 100644
--- a/src/or/networkstatus.c
+++ b/src/or/networkstatus.c
@@ -452,6 +452,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)) {