this does not actually change anything (i hope), but it makes me a lot

more comfortable.
nick, can you confirm this?


svn:r11119
This commit is contained in:
Roger Dingledine
2007-08-15 15:36:34 +00:00
parent f606d74f56
commit 7e5cee8110
+1 -1
View 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);