mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 07:07:52 +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,
|
SMARTLIST_FOREACH(conns, connection_t *, conn,
|
||||||
{
|
{
|
||||||
if (conn->type == CONN_TYPE_OR) {
|
if (conn->type == CONN_TYPE_OR) {
|
||||||
or_connection_t *or_conn = TO_OR_CONN(conn);
|
connection_or_clear_identity(TO_OR_CONN(conn));
|
||||||
memset(or_conn->identity_digest, 0, DIGEST_LEN);
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue