mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Merge remote-tracking branch 'origin/maint-0.2.3'
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
o Minor bugfixes:
|
||||
- Downgrade "Got a certificate, but we already have it" log mesages from
|
||||
warning to info, except when we're a dirauth. Fixes bug #5238; bugfix
|
||||
on 0.2.1.7-alpha.
|
||||
+12
-3
@@ -217,9 +217,18 @@ trusted_dirs_load_certs_from_string(const char *contents, int from_store,
|
||||
* probably means we wanted a different secret key or we are trying to
|
||||
* replace an expired cert that has not in fact been updated. */
|
||||
if (!from_store) {
|
||||
log_warn(LD_DIR, "Got a certificate for %s, but we already have it. "
|
||||
"Maybe they haven't updated it. Waiting for a while.",
|
||||
ds ? ds->nickname : "an old or new authority");
|
||||
if (authdir_mode(get_options())) {
|
||||
log_warn(LD_DIR,
|
||||
"Got a certificate for %s, but we already have it. "
|
||||
"Maybe they haven't updated it. Waiting for a while.",
|
||||
ds ? ds->nickname : "an old or new authority");
|
||||
} else {
|
||||
log_info(LD_DIR,
|
||||
"Got a certificate for %s, but we already have it. "
|
||||
"Maybe they haven't updated it. Waiting for a while.",
|
||||
ds ? ds->nickname : "an old or new authority");
|
||||
}
|
||||
|
||||
authority_cert_dl_failed(cert->cache_info.identity_digest, 404);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user