diff options
author | David Goulet <dgoulet@torproject.org> | 2020-10-27 09:43:04 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2020-10-27 09:43:04 -0400 |
commit | 6338fc2afa729cc9c09a8e466c54cbd53031c8ca (patch) | |
tree | 1ce32a0231c1586608ebb0b88eaeb38d0f8ee915 /src/test/test_connection.c | |
parent | 683c794273aaaf4a330f9b01b8523d2b8b2934e8 (diff) | |
parent | 47d6eef1901c82823362e097156693685c4eb4a8 (diff) | |
download | tor-6338fc2afa729cc9c09a8e466c54cbd53031c8ca.tar.gz tor-6338fc2afa729cc9c09a8e466c54cbd53031c8ca.zip |
Merge branch 'tor-gitlab/mr/173'
Diffstat (limited to 'src/test/test_connection.c')
-rw-r--r-- | src/test/test_connection.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/test_connection.c b/src/test/test_connection.c index 178a37adf6..cf5626ead7 100644 --- a/src/test/test_connection.c +++ b/src/test/test_connection.c @@ -1049,20 +1049,20 @@ test_conn_describe(void *arg) options->SafeLogging_ = SAFELOG_SCRUB_RELAY; // back to safelogging. tt_str_op(connection_describe(conn), OP_EQ, "OR connection (open) with [ffff:3333:1111::2]:8080 " - "ID=0000000700000000000000000000000000000000"); + "ID=<none> RSA_ID=0000000700000000000000000000000000000000"); // Add a 'canonical address' that is the same as the one we have. tor_addr_parse(&TO_OR_CONN(conn)->canonical_orport.addr, "[ffff:3333:1111::2]"); TO_OR_CONN(conn)->canonical_orport.port = 8080; tt_str_op(connection_describe(conn), OP_EQ, "OR connection (open) with [ffff:3333:1111::2]:8080 " - "ID=0000000700000000000000000000000000000000"); + "ID=<none> RSA_ID=0000000700000000000000000000000000000000"); // Add a different 'canonical address' tor_addr_parse(&TO_OR_CONN(conn)->canonical_orport.addr, "[ffff:3333:1111::8]"); tt_str_op(connection_describe(conn), OP_EQ, "OR connection (open) with [ffff:3333:1111::2]:8080 " - "ID=0000000700000000000000000000000000000000 " + "ID=<none> RSA_ID=0000000700000000000000000000000000000000 " "canonical_addr=[ffff:3333:1111::8]:8080"); // Clear identity_digest so that free_minimal won't complain. |