mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
Merge branch 'maint-0.3.2'
This commit is contained in:
commit
cceb43c5e3
5
changes/bug24025
Normal file
5
changes/bug24025
Normal file
@ -0,0 +1,5 @@
|
||||
o Minor bugfixes (logging, relay):
|
||||
- Downgrade a warning to a protocol warning in the case the ed25519 key is
|
||||
not consistent between the descriptor and micro descriptor of a relay.
|
||||
This can happen for instance if the relay has been flagged
|
||||
NoEdConsensus. Fixes bug 24025; bugfix on 0.3.2.1-alpha.
|
@ -924,7 +924,10 @@ node_get_ed25519_id(const node_t *node)
|
||||
if (ed25519_pubkey_eq(ri_pk, md_pk)) {
|
||||
return ri_pk;
|
||||
} else {
|
||||
log_warn(LD_GENERAL, "Inconsistent ed25519 identities in the nodelist");
|
||||
/* This can happen if the relay gets flagged NoEdConsensus which will be
|
||||
* triggered on all relays of the network. Thus a protocol warning. */
|
||||
log_fn(LOG_PROTOCOL_WARN, LD_PROTOCOL,
|
||||
"Inconsistent ed25519 identities in the nodelist");
|
||||
return NULL;
|
||||
}
|
||||
} else if (ri_pk) {
|
||||
|
Loading…
Reference in New Issue
Block a user