Commit 6b2ef2c5 authored by Nick Mathewson's avatar Nick Mathewson 🐛
Browse files

Fix another tor_assert(0) case

parent 86e0be42
......@@ -59,7 +59,7 @@ get_auth_key_from_cell(ed25519_public_key_t *auth_key_out,
default:
/* Getting here is really bad as it means we got a unknown cell type from
* this file where every call has an hardcoded value. */
tor_assert(0); /* LCOV_EXCL_LINE */
tor_assert_unreached(); /* LCOV_EXCL_LINE */
}
tor_assert(key_array);
tor_assert(auth_key_len == sizeof(auth_key_out->pubkey));
......@@ -610,4 +610,3 @@ hs_intropoint_clear(hs_intropoint_t *ip)
smartlist_free(ip->link_specifiers);
memset(ip, 0, sizeof(hs_intropoint_t));
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment