[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r14552: cosmetic patch by Bernhard M. Wiedemann, so our comments fol (tor/trunk/src/or)
Author: arma
Date: 2008-05-04 05:36:48 -0400 (Sun, 04 May 2008)
New Revision: 14552
Modified:
tor/trunk/src/or/buffers.c
Log:
cosmetic patch by Bernhard M. Wiedemann, so our comments follow
the socks5 protocol better
Modified: tor/trunk/src/or/buffers.c
===================================================================
--- tor/trunk/src/or/buffers.c 2008-05-04 08:43:07 UTC (rev 14551)
+++ tor/trunk/src/or/buffers.c 2008-05-04 09:36:48 UTC (rev 14552)
@@ -1300,7 +1300,7 @@
req->replylen = 2; /* 2 bytes of response */
req->reply[0] = 5; /* socks5 reply */
- req->reply[1] = SOCKS5_SUCCEEDED;
+ req->reply[1] = 0; /* tell client to use "none" auth method */
req->socks_version = 5; /* remember we've already negotiated auth */
log_debug(LD_APP,"socks5: accepted method 0");
return 0;