mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
Fix some wide lines in tortls.c
This commit is contained in:
parent
633071eb3b
commit
e8dde3aabd
@ -1328,7 +1328,8 @@ tor_tls_got_client_hello(tor_tls_t *tls)
|
|||||||
|
|
||||||
if (tor_run_in_libevent_loop(tls->excess_renegotiations_callback,
|
if (tor_run_in_libevent_loop(tls->excess_renegotiations_callback,
|
||||||
tls->callback_arg) < 0) {
|
tls->callback_arg) < 0) {
|
||||||
log_warn(LD_GENERAL, "Didn't manage to set a renegotiation limiting callback.");
|
log_warn(LD_GENERAL, "Didn't manage to set a renegotiation "
|
||||||
|
"limiting callback.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1383,7 +1384,6 @@ tor_tls_state_changed_callback(const SSL *ssl, int type, int val)
|
|||||||
tor_tls_got_client_hello(tls);
|
tor_tls_got_client_hello(tls);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Replace *<b>ciphers</b> with a new list of SSL ciphersuites: specifically,
|
/** Replace *<b>ciphers</b> with a new list of SSL ciphersuites: specifically,
|
||||||
@ -1651,8 +1651,8 @@ tor_tls_read(tor_tls_t *tls, char *cp, size_t len)
|
|||||||
#ifdef V2_HANDSHAKE_SERVER
|
#ifdef V2_HANDSHAKE_SERVER
|
||||||
if (tls->got_renegotiate) {
|
if (tls->got_renegotiate) {
|
||||||
if (tls->server_handshake_count != 2) {
|
if (tls->server_handshake_count != 2) {
|
||||||
log_warn(LD_BUG, "We did not notice renegotiation in a timely fashion (%u)!",
|
log_warn(LD_BUG, "We did not notice renegotiation in a timely "
|
||||||
tls->server_handshake_count);
|
"fashion (%u)!", tls->server_handshake_count);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Renegotiation happened! */
|
/* Renegotiation happened! */
|
||||||
|
Loading…
Reference in New Issue
Block a user