diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-11-03 08:55:54 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-11-03 08:55:54 -0400 |
commit | 32854aef28f5ff94fc60647c9881576141574aba (patch) | |
tree | 825a30def480a4cadf9e7e1aefb0275363b566cc /src/or/channeltls.c | |
parent | d9ca4e20bd51915317c7bda38ef56c67499f6f5e (diff) | |
download | tor-32854aef28f5ff94fc60647c9881576141574aba.tar.gz tor-32854aef28f5ff94fc60647c9881576141574aba.zip |
whitespace fixes
Diffstat (limited to 'src/or/channeltls.c')
-rw-r--r-- | src/or/channeltls.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/or/channeltls.c b/src/or/channeltls.c index 1af75e6648..5117672a6a 100644 --- a/src/or/channeltls.c +++ b/src/or/channeltls.c @@ -1889,7 +1889,8 @@ channel_tls_process_certs_cell(var_cell_t *cell, channel_tls_t *chan) tor_cert_t *ed_cert = tor_cert_parse(cert_body, cert_len); if (!ed_cert) { log_fn(LOG_PROTOCOL_WARN, LD_PROTOCOL, - "Received undecodable Ed certificate in CERTS cell from %s:%d", + "Received undecodable Ed certificate " + "in CERTS cell from %s:%d", safe_str(chan->conn->base_.address), chan->conn->base_.port); } else { @@ -2310,10 +2311,9 @@ channel_tls_process_authenticate_cell(var_cell_t *cell, channel_tls_t *chan) chan->conn->handshake_state->authenticated_rsa = 1; chan->conn->handshake_state->digest_received_data = 0; { - crypto_pk_t *identity_rcvd = - tor_tls_cert_get_key(chan->conn->handshake_state->certs->id_cert); - const common_digests_t *id_digests = - tor_x509_cert_get_id_digests(chan->conn->handshake_state->certs->id_cert); + tor_x509_cert_t *id_cert = chan->conn->handshake_state->certs->id_cert; + crypto_pk_t *identity_rcvd = tor_tls_cert_get_key(id_cert); + const common_digests_t *id_digests = tor_x509_cert_get_id_digests(id_cert); const ed25519_public_key_t *ed_identity_received = NULL; if (! sig_is_rsa) { |