aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-08-14 13:34:35 +0000
committerNick Mathewson <nickm@torproject.org>2007-08-14 13:34:35 +0000
commit3268ab58f293908a521a553a1c62cdf3e8bbebbc (patch)
tree9435631e979d6887a37e0838db6eff051ec85b57 /src/or
parentcd5eaf53f9e30a9ee76a02fc3d925bcc3e200beb (diff)
downloadtor-3268ab58f293908a521a553a1c62cdf3e8bbebbc.tar
tor-3268ab58f293908a521a553a1c62cdf3e8bbebbc.tar.gz
r14005@kushana: nickm | 2007-08-14 09:34:19 -0400
add a warning to find a bug (maybe) svn:r11100
Diffstat (limited to 'src/or')
-rw-r--r--src/or/dirvote.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/dirvote.c b/src/or/dirvote.c
index 88ecec1bb..30dcbe3bc 100644
--- a/src/or/dirvote.c
+++ b/src/or/dirvote.c
@@ -1220,6 +1220,10 @@ dirvote_add_vote(const char *vote_body, const char **msg_out, int *status_out)
trusted_dirs_load_certs_from_string(
vote->cert->cache_info.signed_descriptor_body,
0 /* from_store */);
+ if (!authority_cert_get_by_digests(vote->cert->cache_info.identity_digest,
+ vote->cert->signing_key_digest)) {
+ log_warn(LD_BUG, "We added a cert, but still couldn't find it.");
+ }
}
/* XXXX020 check times; make sure epochs match. */