Loading src/or/connection.c +0 −2 Original line number Diff line number Diff line Loading @@ -224,8 +224,6 @@ _connection_free(connection_t *conn) } } if (conn->identity_pkey) crypto_free_pk_env(conn->identity_pkey); tor_free(conn->nickname); tor_free(conn->socks_request); tor_free(conn->incoming_cmd); Loading src/or/connection_or.c +0 −1 Original line number Diff line number Diff line Loading @@ -319,7 +319,6 @@ connection_or_init_conn_from_router(connection_t *conn, routerinfo_t *router) conn->addr = router->addr; conn->port = router->or_port; conn->receiver_bucket = conn->bandwidth = (int)options->BandwidthBurst; conn->identity_pkey = crypto_pk_dup_key(router->identity_pkey); connection_or_set_identity_digest(conn, router->cache_info.identity_digest); conn->nickname = tor_strdup(router->nickname); tor_free(conn->address); Loading src/or/or.h +2 −3 Original line number Diff line number Diff line Loading @@ -652,9 +652,8 @@ struct connection_t { char *address; /**< FQDN (or IP) of the guy on the other end. * strdup into this, because free_connection frees it. */ crypto_pk_env_t *identity_pkey; /**< Public RSA key for the other side's * signing key. */ char identity_digest[DIGEST_LEN]; /**< Hash of identity_pkey */ char identity_digest[DIGEST_LEN]; /**< Hash of the public RSA key for * the other side's signing key. */ char *nickname; /**< Nickname of OR on other side (if any). */ /** Nickname of planned exit node -- used with .exit support. */ Loading Loading
src/or/connection.c +0 −2 Original line number Diff line number Diff line Loading @@ -224,8 +224,6 @@ _connection_free(connection_t *conn) } } if (conn->identity_pkey) crypto_free_pk_env(conn->identity_pkey); tor_free(conn->nickname); tor_free(conn->socks_request); tor_free(conn->incoming_cmd); Loading
src/or/connection_or.c +0 −1 Original line number Diff line number Diff line Loading @@ -319,7 +319,6 @@ connection_or_init_conn_from_router(connection_t *conn, routerinfo_t *router) conn->addr = router->addr; conn->port = router->or_port; conn->receiver_bucket = conn->bandwidth = (int)options->BandwidthBurst; conn->identity_pkey = crypto_pk_dup_key(router->identity_pkey); connection_or_set_identity_digest(conn, router->cache_info.identity_digest); conn->nickname = tor_strdup(router->nickname); tor_free(conn->address); Loading
src/or/or.h +2 −3 Original line number Diff line number Diff line Loading @@ -652,9 +652,8 @@ struct connection_t { char *address; /**< FQDN (or IP) of the guy on the other end. * strdup into this, because free_connection frees it. */ crypto_pk_env_t *identity_pkey; /**< Public RSA key for the other side's * signing key. */ char identity_digest[DIGEST_LEN]; /**< Hash of identity_pkey */ char identity_digest[DIGEST_LEN]; /**< Hash of the public RSA key for * the other side's signing key. */ char *nickname; /**< Nickname of OR on other side (if any). */ /** Nickname of planned exit node -- used with .exit support. */ Loading