summaryrefslogtreecommitdiff
path: root/src/test/test_entryconn.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-09-12 12:24:26 -0400
committerGeorge Kadianakis <desnacked@riseup.net>2017-09-12 21:34:26 +0300
commit6b4eace248272f4defae0f6cc9933588b1b498b3 (patch)
tree9e1ac44754af860125953f7fe8cac267e59fd335 /src/test/test_entryconn.c
parentd71a00e91f3921f6bdf160811313e7b32f890b6c (diff)
downloadtor-6b4eace248272f4defae0f6cc9933588b1b498b3.tar.gz
tor-6b4eace248272f4defae0f6cc9933588b1b498b3.zip
hs-v3: Stall SOCKS connection when no live consensus available
Fixes #23481 Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/test/test_entryconn.c')
-rw-r--r--src/test/test_entryconn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_entryconn.c b/src/test/test_entryconn.c
index 9fe3db26f7..2d28f1d428 100644
--- a/src/test/test_entryconn.c
+++ b/src/test/test_entryconn.c
@@ -815,7 +815,7 @@ test_entryconn_rewrite_onion_v3(void *arg)
tt_int_op(retval, OP_EQ, 0);
/* Check connection state after rewrite */
- tt_int_op(ENTRY_TO_CONN(conn)->state, OP_EQ, AP_CONN_STATE_RENDDESC_WAIT);
+ tt_int_op(ENTRY_TO_CONN(conn)->state, OP_EQ, AP_CONN_STATE_CIRCUIT_WAIT);
/* check that the address got rewritten */
tt_str_op(conn->socks_request->address, OP_EQ,
"p3xnclpu4mu22dwaurjtsybyqk4xfjmcfz6z62yl24uwmhjatiwnlnad");