mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
test: Add HSv3 unit test for expiring intro point
Signed-off-by: David Goulet <dgoulet@torproject.org>
This commit is contained in:
@@ -2481,8 +2481,8 @@ assert_cpath_ok(const crypt_path_t *cp)
|
||||
/** Verify that circuit <b>c</b> has all of its invariants
|
||||
* correct. Trigger an assert if anything is invalid.
|
||||
*/
|
||||
void
|
||||
assert_circuit_ok(const circuit_t *c)
|
||||
MOCK_IMPL(void,
|
||||
assert_circuit_ok,(const circuit_t *c))
|
||||
{
|
||||
edge_connection_t *conn;
|
||||
const or_circuit_t *or_circ = NULL;
|
||||
|
||||
@@ -68,7 +68,7 @@ int circuit_count_pending_on_channel(channel_t *chan);
|
||||
circuit_mark_for_close_((c), (reason), __LINE__, SHORT_FILE__)
|
||||
|
||||
void assert_cpath_layer_ok(const crypt_path_t *cp);
|
||||
void assert_circuit_ok(const circuit_t *c);
|
||||
MOCK_DECL(void, assert_circuit_ok,(const circuit_t *c));
|
||||
void circuit_free_all(void);
|
||||
void circuits_handle_oom(size_t current_allocation);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user