Report only the first bootstrap failure from an orconn

Otherwise, when we report "identity mismatch", we then later report
DONE when the connection gets closed.

Fixes bug 10431; bugfix on 0.2.1.1-alpha.
This commit is contained in:
Nick Mathewson
2014-03-27 15:58:43 -04:00
parent 0f395a7c06
commit b0bbe6b2f1
5 changed files with 17 additions and 3 deletions
+1 -1
View File
@@ -364,7 +364,7 @@ test_ext_or_cookie_auth_testvec(void *arg)
static void
ignore_bootstrap_problem(const char *warn, int reason,
const or_connection_t *conn)
or_connection_t *conn)
{
(void)warn;
(void)reason;