diff options
author | Nick Mathewson <nickm@torproject.org> | 2021-01-19 12:49:31 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2021-01-19 12:49:31 -0500 |
commit | 6c1bc570cf49c8e493d3278fefaf0c77e289f82c (patch) | |
tree | 834e9e5b019f6daba7c2a963ff4184cedad9fe55 /src/core | |
parent | f79a31f6d50b6b44e0bef091f3e6df0d473141bd (diff) | |
parent | 4c82c2d1d4a9800f82bcc47c227a8e6a2a0d168d (diff) | |
download | tor-6c1bc570cf49c8e493d3278fefaf0c77e289f82c.tar.gz tor-6c1bc570cf49c8e493d3278fefaf0c77e289f82c.zip |
Merge branch 'maint-0.4.4' into maint-0.4.5
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/or/channeltls.c | 4 | ||||
-rw-r--r-- | src/core/or/circuitlist.c | 4 |
2 files changed, 2 insertions, 6 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, diff --git a/src/core/or/circuitlist.c b/src/core/or/circuitlist.c index a912b267da..bd36683880 100644 --- a/src/core/or/circuitlist.c +++ b/src/core/or/circuitlist.c @@ -851,9 +851,7 @@ circuit_purpose_to_controller_hs_state_string(uint8_t purpose) "Unrecognized circuit purpose: %d", (int)purpose); tor_fragile_assert(); -#ifndef ALL_BUGS_ARE_FATAL - FALLTHROUGH; -#endif + FALLTHROUGH_UNLESS_ALL_BUGS_ARE_FATAL; case CIRCUIT_PURPOSE_OR: case CIRCUIT_PURPOSE_C_GENERAL: |