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/test/test_link_handshake.c | |
parent | cdce221e68489cddad579da0ce804ce2eb5804b3 (diff) | |
download | tor-6aa239df363a9739df96cc4c4660b7aee8a7bef9.tar.gz tor-6aa239df363a9739df96cc4c4660b7aee8a7bef9.zip |
Rename connection_or_remove_from_identity_map
Diffstat (limited to 'src/test/test_link_handshake.c')
-rw-r--r-- | src/test/test_link_handshake.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/test_link_handshake.c b/src/test/test_link_handshake.c index 9899e54231..9931702a34 100644 --- a/src/test/test_link_handshake.c +++ b/src/test/test_link_handshake.c @@ -323,7 +323,7 @@ recv_certs_cleanup(const struct testcase_t *test, void *obj) if (d) { tor_free(d->cell); certs_cell_free(d->ccell); - connection_or_remove_from_identity_map(d->c); + connection_or_clear_identity(d->c); connection_free_(TO_CONN(d->c)); circuitmux_free(d->chan->base_.cmux); tor_free(d->chan); @@ -1133,8 +1133,8 @@ authenticate_data_cleanup(const struct testcase_t *test, void *arg) authenticate_data_t *d = arg; if (d) { tor_free(d->cell); - connection_or_remove_from_identity_map(d->c1); - connection_or_remove_from_identity_map(d->c2); + connection_or_clear_identity(d->c1); + connection_or_clear_identity(d->c2); connection_free_(TO_CONN(d->c1)); connection_free_(TO_CONN(d->c2)); circuitmux_free(d->chan2->base_.cmux); |