diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-12-07 12:57:51 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-12-08 16:48:01 -0500 |
commit | 9bf9e34a01a5b0b8d28ff2486c73e243561b4e3e (patch) | |
tree | f6d425e3ef7d9bf5f0f90ddd0b1a722f8856901a /src/or/connection_or.c | |
parent | 937aef48eeae4b81528de3e04b39047d0f826d9b (diff) | |
download | tor-9bf9e34a01a5b0b8d28ff2486c73e243561b4e3e.tar.gz tor-9bf9e34a01a5b0b8d28ff2486c73e243561b4e3e.zip |
Use connection_or_clear_identity in connection_or_clear_identity_map.
Diffstat (limited to 'src/or/connection_or.c')
-rw-r--r-- | src/or/connection_or.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/connection_or.c b/src/or/connection_or.c index 088900ccec..046865d8b5 100644 --- a/src/or/connection_or.c +++ b/src/or/connection_or.c @@ -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)); } }); } |