Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Core
Tor
Commits
df2b46d1
Commit
df2b46d1
authored
Oct 14, 2018
by
Nick Mathewson
🏃
Browse files
Remove a double-newline and improve a comment
parent
2dccef0e
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/core/or/connection_edge.h
View file @
df2b46d1
...
...
@@ -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
);
...
...
src/feature/nodelist/torcert.c
View file @
df2b46d1
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment