mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
clean up whitespace
This commit is contained in:
parent
92c436ccbc
commit
11e3db3ee8
@ -1558,7 +1558,9 @@ tor_tls_server_info_callback(const SSL *ssl, int type, int val)
|
|||||||
if (tls) {
|
if (tls) {
|
||||||
tls->wasV2Handshake = 1;
|
tls->wasV2Handshake = 1;
|
||||||
} else {
|
} 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
|
* Note that a reference is added to cert_out, so it needs to be
|
||||||
* freed. id_cert_out doesn't. */
|
* freed. id_cert_out doesn't. */
|
||||||
MOCK_IMPL(STATIC void, try_to_extract_certs_from_tls, (int severity, tor_tls_t *tls,
|
MOCK_IMPL(STATIC void,
|
||||||
X509 **cert_out, X509 **id_cert_out))
|
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;
|
X509 *cert = NULL, *id_cert = NULL;
|
||||||
STACK_OF(X509) *chain = NULL;
|
STACK_OF(X509) *chain = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user