summaryrefslogtreecommitdiff
path: root/src/common/tortls.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-10-02 15:13:19 +0200
committerNick Mathewson <nickm@torproject.org>2015-10-02 15:13:19 +0200
commit11e3db3ee876c8cc161d6bb019cbb19a1b623b6c (patch)
treee231bd4d8d6a63f85bb52a3360b9d903a894c37c /src/common/tortls.c
parent92c436ccbc9589048b93d0e8c8007d79284139b9 (diff)
downloadtor-11e3db3ee876c8cc161d6bb019cbb19a1b623b6c.tar.gz
tor-11e3db3ee876c8cc161d6bb019cbb19a1b623b6c.zip
clean up whitespace
Diffstat (limited to 'src/common/tortls.c')
-rw-r--r--src/common/tortls.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/common/tortls.c b/src/common/tortls.c
index 2a024c7c77..59c8f31b77 100644
--- a/src/common/tortls.c
+++ b/src/common/tortls.c
@@ -1558,7 +1558,9 @@ tor_tls_server_info_callback(const SSL *ssl, int type, int val)
if (tls) {
tls->wasV2Handshake = 1;
} else {
- log_warn(LD_BUG, "Couldn't look up the tls for an SSL*. How odd!"); /* LCOV_EXCL_LINE this line is not reachable */
+ /* LCOV_EXCL_START this line is not reachable */
+ log_warn(LD_BUG, "Couldn't look up the tls for an SSL*. How odd!");
+ /* LCOV_EXCL_STOP */
}
}
}
@@ -2177,8 +2179,9 @@ log_cert_lifetime(int severity, const X509 *cert, const char *problem)
*
* Note that a reference is added to cert_out, so it needs to be
* freed. id_cert_out doesn't. */
-MOCK_IMPL(STATIC void, try_to_extract_certs_from_tls, (int severity, tor_tls_t *tls,
- X509 **cert_out, X509 **id_cert_out))
+MOCK_IMPL(STATIC void,
+try_to_extract_certs_from_tls,(int severity, tor_tls_t *tls,
+ X509 **cert_out, X509 **id_cert_out))
{
X509 *cert = NULL, *id_cert = NULL;
STACK_OF(X509) *chain = NULL;