Commit 9e9b447b authored by Nick Mathewson's avatar Nick Mathewson 🤹
Browse files

r14243@tombo: nickm | 2008-02-17 14:51:26 -0500

 Better debugging to track down bug 606.  Also remove a break; that may have been the possible culprit


svn:r13547
parent 952a3cb8
Loading
Loading
Loading
Loading
+4 −2
Original line number Original line Diff line number Diff line
@@ -151,6 +151,8 @@ trusted_dirs_load_certs_from_string(const char *contents, int from_store)
      break;
      break;
    ds = trusteddirserver_get_by_v3_auth_digest(
    ds = trusteddirserver_get_by_v3_auth_digest(
                                       cert->cache_info.identity_digest);
                                       cert->cache_info.identity_digest);
    log_debug(LD_DIR, "Parsed certificate for %s",
              ds ? ds->nickname : "unknown authority");


    cl = get_cert_list(cert->cache_info.identity_digest);
    cl = get_cert_list(cert->cache_info.identity_digest);


@@ -162,10 +164,10 @@ trusted_dirs_load_certs_from_string(const char *contents, int from_store)
          /* we already have this one. continue. */
          /* we already have this one. continue. */
          log_info(LD_DIR, "Skipping %s certificate for %s that we "
          log_info(LD_DIR, "Skipping %s certificate for %s that we "
                   "already have.",
                   "already have.",
                   from_store ? "cached" : "downloaded", ds->nickname);
                   from_store ? "cached" : "downloaded",
                   ds ? ds->nickname : "??");
          authority_cert_free(cert);
          authority_cert_free(cert);
          found = 1;
          found = 1;
          break;
        }
        }
      });
      });