diff --git a/src/or/dirvote.c b/src/or/dirvote.c index 88ecec1bb0..30dcbe3bca 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. */