aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-02-10 15:35:46 -0500
committerNick Mathewson <nickm@torproject.org>2016-02-10 15:35:46 -0500
commita8d69895897056fcc313914e9d611d3c9008e17c (patch)
treef670ff0aa4e1a75de248dff8b5de2ff22d5ced5c /src/or
parent9746aed2baffeb3788552f8cdedc5611ab2f91b7 (diff)
downloadtor-a8d69895897056fcc313914e9d611d3c9008e17c.tar.gz
tor-a8d69895897056fcc313914e9d611d3c9008e17c.zip
Whitespace fixes
Diffstat (limited to 'src/or')
-rw-r--r--src/or/channeltls.c3
-rw-r--r--src/or/dirserv.h6
-rw-r--r--src/or/routerparse.c3
-rw-r--r--src/or/routerparse.h3
4 files changed, 9 insertions, 6 deletions
diff --git a/src/or/channeltls.c b/src/or/channeltls.c
index a4c570833e..016ef75456 100644
--- a/src/or/channeltls.c
+++ b/src/or/channeltls.c
@@ -1819,7 +1819,8 @@ channel_tls_process_certs_cell(var_cell_t *cell, channel_tls_t *chan)
chan->conn->handshake_state->authenticated = 1;
{
- const common_digests_t *id_digests = tor_x509_cert_get_id_digests(id_cert);
+ const common_digests_t *id_digests =
+ tor_x509_cert_get_id_digests(id_cert);
crypto_pk_t *identity_rcvd;
if (!id_digests)
ERR("Couldn't compute digests for key in ID cert");
diff --git a/src/or/dirserv.h b/src/or/dirserv.h
index 25a2a9130b..df23450ef9 100644
--- a/src/or/dirserv.h
+++ b/src/or/dirserv.h
@@ -63,9 +63,9 @@ int directory_too_idle_to_fetch_descriptors(const or_options_t *options,
cached_dir_t *dirserv_get_consensus(const char *flavor_name);
void dirserv_set_cached_consensus_networkstatus(const char *consensus,
- const char *flavor_name,
- const common_digests_t *digests,
- time_t published);
+ const char *flavor_name,
+ const common_digests_t *digests,
+ time_t published);
void dirserv_clear_old_networkstatuses(time_t cutoff);
int dirserv_get_routerdesc_fingerprints(smartlist_t *fps_out, const char *key,
const char **msg,
diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index 7323f8012a..2173213e49 100644
--- a/src/or/routerparse.c
+++ b/src/or/routerparse.c
@@ -3445,7 +3445,8 @@ networkstatus_parse_vote_from_string(const char *s, const char **eos_out,
/** Return the common_digests_t that holds the digests of the
* <b>flavor_name</b>-flavored networkstatus according to the detached
- * signatures document <b>sigs</b>, allocating a new common_digests_t as neeeded. */
+ * signatures document <b>sigs</b>, allocating a new common_digests_t as
+ * neeeded. */
static common_digests_t *
detached_get_digests(ns_detached_signatures_t *sigs, const char *flavor_name)
{
diff --git a/src/or/routerparse.h b/src/or/routerparse.h
index 47457406c2..723d5d8945 100644
--- a/src/or/routerparse.h
+++ b/src/or/routerparse.h
@@ -14,7 +14,8 @@
int router_get_router_hash(const char *s, size_t s_len, char *digest);
int router_get_dir_hash(const char *s, char *digest);
-int router_get_networkstatus_v3_hashes(const char *s, common_digests_t *digests);
+int router_get_networkstatus_v3_hashes(const char *s,
+ common_digests_t *digests);
int router_get_extrainfo_hash(const char *s, size_t s_len, char *digest);
#define DIROBJ_MAX_SIG_LEN 256
char *router_get_dirobj_signature(const char *digest,