mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 23:53:32 +01:00
Merge branch 'maint-0.3.3' into maint-0.3.4
This commit is contained in:
commit
633e99575f
@ -58,7 +58,7 @@ get_auth_key_from_cell(ed25519_public_key_t *auth_key_out,
|
|||||||
default:
|
default:
|
||||||
/* Getting here is really bad as it means we got a unknown cell type from
|
/* Getting here is really bad as it means we got a unknown cell type from
|
||||||
* this file where every call has an hardcoded value. */
|
* 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(key_array);
|
||||||
tor_assert(auth_key_len == sizeof(auth_key_out->pubkey));
|
tor_assert(auth_key_len == sizeof(auth_key_out->pubkey));
|
||||||
@ -609,4 +609,3 @@ hs_intropoint_clear(hs_intropoint_t *ip)
|
|||||||
smartlist_free(ip->link_specifiers);
|
smartlist_free(ip->link_specifiers);
|
||||||
memset(ip, 0, sizeof(hs_intropoint_t));
|
memset(ip, 0, sizeof(hs_intropoint_t));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user