diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-10-14 15:33:34 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-10-14 15:33:39 -0400 |
commit | df2b46d18c4a3d6e5eb364f80111ef6c7811383c (patch) | |
tree | 09c76b34511cddf664c2139b4477a3945ee443b1 | |
parent | 2dccef0eb490fa7d8fabc0d93e37d6635910f174 (diff) | |
download | tor-df2b46d18c4a3d6e5eb364f80111ef6c7811383c.tar.gz tor-df2b46d18c4a3d6e5eb364f80111ef6c7811383c.zip |
Remove a double-newline and improve a comment
-rw-r--r-- | src/core/or/connection_edge.h | 1 | ||||
-rw-r--r-- | src/feature/nodelist/torcert.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/core/or/connection_edge.h b/src/core/or/connection_edge.h index 6472de008c..55b90d3eae 100644 --- a/src/core/or/connection_edge.h +++ b/src/core/or/connection_edge.h @@ -265,7 +265,6 @@ STATIC int connection_ap_process_http_connect(entry_connection_t *conn); STATIC void export_hs_client_circuit_id(edge_connection_t *edge_conn, hs_circuit_id_protocol_t protocol); - struct half_edge_t; STATIC void connection_half_edge_add(const edge_connection_t *conn, origin_circuit_t *circ); diff --git a/src/feature/nodelist/torcert.c b/src/feature/nodelist/torcert.c index 9962ed653f..938d7d09f6 100644 --- a/src/feature/nodelist/torcert.c +++ b/src/feature/nodelist/torcert.c @@ -51,7 +51,7 @@ tor_cert_sign_impl(const ed25519_keypair_t *signing_key, tor_cert_t *torcert = NULL; ed25519_cert_t *cert = ed25519_cert_new(); - tor_assert(cert); // Trunnel's new functions can return NULL. + tor_assert(cert); // Unlike Tor's, Trunnel's "new" functions can return NULL. cert->cert_type = cert_type; cert->exp_field = (uint32_t) CEIL_DIV(now + lifetime, 3600); cert->cert_key_type = signed_key_type; |