diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-05-17 20:08:03 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-05-17 20:08:03 -0400 |
commit | 2729f166cb715f0f4aff8779f0fadebafc56a70c (patch) | |
tree | 102a1e44c22b2aa09a99a5e585e68797481f5fe8 /src/or/dirserv.c | |
parent | ab932cd7bfb7e4cfe9c33416ca45e56448c57b58 (diff) | |
download | tor-2729f166cb715f0f4aff8779f0fadebafc56a70c.tar.gz tor-2729f166cb715f0f4aff8779f0fadebafc56a70c.zip |
whitespace fixes
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r-- | src/or/dirserv.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c index c97e3bcbce..dafaed8bf2 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -261,7 +261,7 @@ dirserv_router_get_status(const routerinfo_t *router, const char **msg, /* This has an ed25519 identity key. */ if (KEYPIN_MISMATCH == keypin_check((const uint8_t*)router->cache_info.identity_digest, - router->cache_info.signing_key_cert->signing_key.pubkey)) { + router->cache_info.signing_key_cert->signing_key.pubkey)) { log_fn(severity, LD_DIR, "Descriptor from router %s has an Ed25519 key, " "but the <rsa,ed25519> keys don't match what they were before.", @@ -2898,7 +2898,8 @@ dirserv_generate_networkstatus_vote_obj(crypto_pk_t *private_key, listbadexits); if (ri->cache_info.signing_key_cert) { - memcpy(vrs->ed25519_id, ri->cache_info.signing_key_cert->signing_key.pubkey, + memcpy(vrs->ed25519_id, + ri->cache_info.signing_key_cert->signing_key.pubkey, ED25519_PUBKEY_LEN); } |