]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
this does not actually change anything (i hope), but it makes me a lot
authorRoger Dingledine <arma@torproject.org>
Wed, 15 Aug 2007 15:36:34 +0000 (15:36 +0000)
committerRoger Dingledine <arma@torproject.org>
Wed, 15 Aug 2007 15:36:34 +0000 (15:36 +0000)
more comfortable.
nick, can you confirm this?

svn:r11119

src/or/control.c

index c38bfa4cbbd031af1e3fd1ff3c1e5f1795fb29a5..1a91562ad688136cf3778518610d0693556f0f08 100644 (file)
@@ -988,7 +988,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);