summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-08-16 16:53:15 +0000
committerRoger Dingledine <arma@torproject.org>2007-08-16 16:53:15 +0000
commitd0ecd468eb1e932423a7bc0e30b722044ccc112f (patch)
treec2fff725c56a91a7bcafc62c57ddd50814d68954
parent5da1f9767062b1a77ce6b1fe7d8bcdb0862372fc (diff)
downloadtor-d0ecd468eb1e932423a7bc0e30b722044ccc112f.tar.gz
tor-d0ecd468eb1e932423a7bc0e30b722044ccc112f.zip
backport r11119 too
svn:r11136
-rw-r--r--src/or/control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/control.c b/src/or/control.c
index 70acaf0ce9..521b810a87 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -999,7 +999,7 @@ handle_control_authenticate(control_connection_t *conn, uint32_t len,
used_quoted_string = 1;
}
}
- if (options->CookieAuthentication && authentication_cookie_is_set) {
+ if (options->CookieAuthentication) {
if (password_len != AUTHENTICATION_COOKIE_LEN) {
log_warn(LD_CONTROL, "Got authentication cookie with wrong length (%d)",
(int)password_len);