diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-09-19 16:26:27 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-12-08 16:47:57 -0500 |
commit | 6aa239df363a9739df96cc4c4660b7aee8a7bef9 (patch) | |
tree | 9a1d8d7eb605aa077c9d7de1f5d57d3ad8cb1cdf /src/or/connection_or.c | |
parent | cdce221e68489cddad579da0ce804ce2eb5804b3 (diff) | |
download | tor-6aa239df363a9739df96cc4c4660b7aee8a7bef9.tar.gz tor-6aa239df363a9739df96cc4c4660b7aee8a7bef9.zip |
Rename connection_or_remove_from_identity_map
Diffstat (limited to 'src/or/connection_or.c')
-rw-r--r-- | src/or/connection_or.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/connection_or.c b/src/or/connection_or.c index dbeab26e96..4449d3f3ae 100644 --- a/src/or/connection_or.c +++ b/src/or/connection_or.c @@ -84,7 +84,7 @@ static digestmap_t *orconn_ext_or_id_map = NULL; /** Clear clear conn->identity_digest and update other data * structures as appropriate.*/ void -connection_or_remove_from_identity_map(or_connection_t *conn) +connection_or_clear_identity(or_connection_t *conn) { tor_assert(conn); memset(conn->identity_digest, 0, DIGEST_LEN); @@ -120,7 +120,7 @@ connection_or_set_identity_digest(or_connection_t *conn, /* If the identity was set previously, remove the old mapping. */ if (! tor_digest_is_zero(conn->identity_digest)) { - connection_or_remove_from_identity_map(conn); + connection_or_clear_identity(conn); if (conn->chan) channel_clear_identity_digest(TLS_CHAN_TO_BASE(conn->chan)); } |