summaryrefslogtreecommitdiff
path: root/src/or/circuitlist.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-12-04 11:45:41 -0500
committerDavid Goulet <dgoulet@torproject.org>2017-12-05 10:55:41 -0500
commit68601a85ca48bf2cd54087fe21fdcf8aaa23ebb2 (patch)
tree913bee28a900cdd408fa2379dd6e73798160b561 /src/or/circuitlist.c
parente80893e51b0c0320838cbed8c46fd5b0fe608bef (diff)
downloadtor-68601a85ca48bf2cd54087fe21fdcf8aaa23ebb2.tar.gz
tor-68601a85ca48bf2cd54087fe21fdcf8aaa23ebb2.zip
test: Add HSv3 unit test for expiring intro point
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/circuitlist.c')
-rw-r--r--src/or/circuitlist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/circuitlist.c b/src/or/circuitlist.c
index 45d4521c22..d442887c9e 100644
--- a/src/or/circuitlist.c
+++ b/src/or/circuitlist.c
@@ -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;