[or-cvs] r11100: add a warning to find a bug (maybe) (in tor/trunk: . src/or)

nickm at seul.org nickm at seul.org
Tue Aug 14 13:34:35 UTC 2007


Author: nickm
Date: 2007-08-14 09:34:35 -0400 (Tue, 14 Aug 2007)
New Revision: 11100

Modified:
   tor/trunk/
   tor/trunk/src/or/dirvote.c
Log:
 r14005 at kushana:  nickm | 2007-08-14 09:34:19 -0400
 add a warning to find a bug (maybe)



Property changes on: tor/trunk
___________________________________________________________________
 svk:merge ticket from /tor/trunk [r14005] on c95137ef-5f19-0410-b913-86e773d04f59

Modified: tor/trunk/src/or/dirvote.c
===================================================================
--- tor/trunk/src/or/dirvote.c	2007-08-14 02:23:57 UTC (rev 11099)
+++ tor/trunk/src/or/dirvote.c	2007-08-14 13:34:35 UTC (rev 11100)
@@ -1220,6 +1220,10 @@
     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. */



More information about the tor-commits mailing list