aboutsummaryrefslogtreecommitdiff
path: root/src/feature
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-10-14 15:33:34 -0400
committerNick Mathewson <nickm@torproject.org>2018-10-14 15:33:39 -0400
commitdf2b46d18c4a3d6e5eb364f80111ef6c7811383c (patch)
tree09c76b34511cddf664c2139b4477a3945ee443b1 /src/feature
parent2dccef0eb490fa7d8fabc0d93e37d6635910f174 (diff)
downloadtor-df2b46d18c4a3d6e5eb364f80111ef6c7811383c.tar.gz
tor-df2b46d18c4a3d6e5eb364f80111ef6c7811383c.zip
Remove a double-newline and improve a comment
Diffstat (limited to 'src/feature')
-rw-r--r--src/feature/nodelist/torcert.c2
1 files changed, 1 insertions, 1 deletions
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;