mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
make cookie authentication for the controller work again, maybe.
it sure doesn't now. svn:r6494
This commit is contained in:
parent
6066d68ac3
commit
3cd01ca9a1
@ -1023,7 +1023,7 @@ handle_control_authenticate(connection_t *conn, uint32_t len, const char *body)
|
||||
}
|
||||
}
|
||||
if (options->CookieAuthentication) {
|
||||
if (len == AUTHENTICATION_COOKIE_LEN &&
|
||||
if (password_len == AUTHENTICATION_COOKIE_LEN &&
|
||||
!memcmp(authentication_cookie, password, password_len)) {
|
||||
goto ok;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user