[or-cvs] make cookie authentication for the controller work again, m...
arma at seul.org
arma at seul.org
Wed May 24 23:03:31 UTC 2006
Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or
Modified Files:
control.c
Log Message:
make cookie authentication for the controller work again, maybe.
it sure doesn't now.
Index: control.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/control.c,v
retrieving revision 1.191
retrieving revision 1.192
diff -u -p -d -r1.191 -r1.192
--- control.c 22 May 2006 23:24:06 -0000 1.191
+++ control.c 24 May 2006 23:03:28 -0000 1.192
@@ -1023,7 +1023,7 @@ handle_control_authenticate(connection_t
}
}
if (options->CookieAuthentication) {
- if (len == AUTHENTICATION_COOKIE_LEN &&
+ if (password_len == AUTHENTICATION_COOKIE_LEN &&
!memcmp(authentication_cookie, password, password_len)) {
goto ok;
}
More information about the tor-commits
mailing list