summaryrefslogtreecommitdiff
path: root/src/or/connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/connection.c')
-rw-r--r--src/or/connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection.c b/src/or/connection.c
index 1a9afcf6b2..b45c0bd475 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -1597,7 +1597,7 @@ void assert_connection_ok(connection_t *conn, time_t now)
}
// tor_assert(conn->addr && conn->port);
tor_assert(conn->address);
- if (conn->state != OR_CONN_STATE_CONNECTING)
+ if (conn->state > OR_CONN_STATE_PROXY_READING)
tor_assert(conn->tls);
}