diff options
author | Roger Dingledine <arma@torproject.org> | 2008-06-09 07:01:52 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2008-06-09 07:01:52 +0000 |
commit | ac795353c4c754373deb774f06a5a514b1442804 (patch) | |
tree | 6282f819cb4ad4c4a30e991aeab551ee2f88e2b8 /src | |
parent | 6aeb79af06afcc6d4997ef36544448ba19603d72 (diff) | |
download | tor-ac795353c4c754373deb774f06a5a514b1442804.tar tor-ac795353c4c754373deb774f06a5a514b1442804.tar.gz |
fix a bug where we were never reporting the
"Finishing handshake with entry guard" bootstrap phase
svn:r15087
Diffstat (limited to 'src')
-rw-r--r-- | src/or/control.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/control.c b/src/or/control.c index 97ca13225..57a2fe846 100644 --- a/src/or/control.c +++ b/src/or/control.c @@ -3906,10 +3906,10 @@ control_event_bootstrap(bootstrap_status_t status, int percent) if (last_percent == 100) return 0; /* already bootstrapped; nothing to be done here. */ - /* special case for handshaking status, since our tls handshaking code + /* special case for handshaking status, since our TLS handshaking code * can't distinguish what the connection is going to be for. */ if (status == BOOTSTRAP_STATUS_HANDSHAKE) { - if (last_percent < BOOTSTRAP_STATUS_HANDSHAKE_OR) { + if (last_percent < BOOTSTRAP_STATUS_CONN_OR) { status = BOOTSTRAP_STATUS_HANDSHAKE_DIR; } else { status = BOOTSTRAP_STATUS_HANDSHAKE_OR; |