aboutsummaryrefslogtreecommitdiff
path: root/src/core/or/channeltls.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2021-01-19 12:49:31 -0500
committerNick Mathewson <nickm@torproject.org>2021-01-19 12:49:31 -0500
commit6c1bc570cf49c8e493d3278fefaf0c77e289f82c (patch)
tree834e9e5b019f6daba7c2a963ff4184cedad9fe55 /src/core/or/channeltls.c
parentf79a31f6d50b6b44e0bef091f3e6df0d473141bd (diff)
parent4c82c2d1d4a9800f82bcc47c227a8e6a2a0d168d (diff)
downloadtor-6c1bc570cf49c8e493d3278fefaf0c77e289f82c.tar.gz
tor-6c1bc570cf49c8e493d3278fefaf0c77e289f82c.zip
Merge branch 'maint-0.4.4' into maint-0.4.5
Diffstat (limited to 'src/core/or/channeltls.c')
-rw-r--r--src/core/or/channeltls.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/or/channeltls.c b/src/core/or/channeltls.c
index 846e6e5f42..dd5e42c47f 100644
--- a/src/core/or/channeltls.c
+++ b/src/core/or/channeltls.c
@@ -1248,9 +1248,7 @@ channel_tls_handle_var_cell(var_cell_t *var_cell, or_connection_t *conn)
* the v2 and v3 handshakes. */
/* But that should be happening any longer've disabled bufferevents. */
tor_assert_nonfatal_unreached_once();
-#ifndef ALL_BUGS_ARE_FATAL
- FALLTHROUGH;
-#endif
+ FALLTHROUGH_UNLESS_ALL_BUGS_ARE_FATAL;
case OR_CONN_STATE_TLS_SERVER_RENEGOTIATING:
if (!(command_allowed_before_handshake(var_cell->command))) {
log_fn(LOG_PROTOCOL_WARN, LD_PROTOCOL,