mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 22:58:50 +01:00
Use connection_or_clear_identity in connection_or_clear_identity_map.
This commit is contained in:
parent
937aef48ee
commit
9bf9e34a01
1 changed files with 1 additions and 2 deletions
|
@ -101,8 +101,7 @@ connection_or_clear_identity_map(void)
|
|||
SMARTLIST_FOREACH(conns, connection_t *, conn,
|
||||
{
|
||||
if (conn->type == CONN_TYPE_OR) {
|
||||
or_connection_t *or_conn = TO_OR_CONN(conn);
|
||||
memset(or_conn->identity_digest, 0, DIGEST_LEN);
|
||||
connection_or_clear_identity(TO_OR_CONN(conn));
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue