diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-10-15 10:53:45 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-10-15 10:53:45 -0400 |
commit | 47d6eef1901c82823362e097156693685c4eb4a8 (patch) | |
tree | 8a79652d845c5574baa37b0608e2a668dfa5d1eb /src/test/test_connection.c | |
parent | 5718f38c85a4c1e44465488d458980cac6226a1d (diff) | |
download | tor-47d6eef1901c82823362e097156693685c4eb4a8.tar.gz tor-47d6eef1901c82823362e097156693685c4eb4a8.zip |
Also, include ed25519 identities in connection_describe().
Related to #22668.
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. |