diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-10-15 10:48:35 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-10-15 10:48:35 -0400 |
commit | 3462f8ed6430bdb1528a7b63aaf2281489eb04d1 (patch) | |
tree | 643ef324c565c0caf5613c99b76ce6b6655a1e6b /src/or | |
parent | fd528a0884e706f5ad10422d0c4501ce35254530 (diff) | |
parent | 796e36e535d1713fd1168772669199ea9189ba61 (diff) | |
download | tor-3462f8ed6430bdb1528a7b63aaf2281489eb04d1.tar.gz tor-3462f8ed6430bdb1528a7b63aaf2281489eb04d1.zip |
Merge branch 'maint-0.3.3' into maint-0.3.4
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/hs_common.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/or/hs_common.c b/src/or/hs_common.c index 5354055bb0..c42ef0c97b 100644 --- a/src/or/hs_common.c +++ b/src/or/hs_common.c @@ -524,7 +524,7 @@ rend_data_get_address(const rend_data_t *rend_data) return TO_REND_DATA_V2(rend_data)->onion_address; default: /* We should always have a supported version. */ - tor_assert(0); + tor_assert_unreached(); } } @@ -547,7 +547,7 @@ rend_data_get_desc_id(const rend_data_t *rend_data, uint8_t replica, return TO_REND_DATA_V2(rend_data)->descriptor_id[replica]; default: /* We should always have a supported version. */ - tor_assert(0); + tor_assert_unreached(); } } @@ -570,7 +570,7 @@ rend_data_get_pk_digest(const rend_data_t *rend_data, size_t *len_out) } default: /* We should always have a supported version. */ - tor_assert(0); + tor_assert_unreached(); } } @@ -1817,4 +1817,3 @@ hs_inc_rdv_stream_counter(origin_circuit_t *circ) tor_assert_nonfatal_unreached(); } } - |