]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Remove a double-newline and improve a comment
authorNick Mathewson <nickm@torproject.org>
Sun, 14 Oct 2018 19:33:34 +0000 (15:33 -0400)
committerNick Mathewson <nickm@torproject.org>
Sun, 14 Oct 2018 19:33:39 +0000 (15:33 -0400)
src/core/or/connection_edge.h
src/feature/nodelist/torcert.c

index 6472de008c8d9d20faa60e3de2779054b0021584..55b90d3eae3f78d290d2990eabf789d5f6194a89 100644 (file)
@@ -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);
index 9962ed653f164acb776f509fa03c641a34ca3059..938d7d09f624012672b401ef0ddee31c8ef0b486 100644 (file)
@@ -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;