mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
cosmetic patch by Bernhard M. Wiedemann, so our comments follow
the socks5 protocol better svn:r14552
This commit is contained in:
+1
-1
@@ -1300,7 +1300,7 @@ fetch_from_buf_socks(buf_t *buf, socks_request_t *req,
|
||||
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user