[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] fix two typos in the control howto doc
Update of /home2/or/cvsroot/control/doc
In directory moria:/home/arma/work/onion/cvs/control/doc
Modified Files:
howto.txt
Log Message:
fix two typos in the control howto doc
Index: howto.txt
===================================================================
RCS file: /home2/or/cvsroot/control/doc/howto.txt,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- howto.txt 27 Sep 2005 17:36:38 -0000 1.8
+++ howto.txt 2 Dec 2005 00:28:44 -0000 1.9
@@ -509,7 +509,7 @@
In Java:
// Create a new random password and its hash.
PasswordDigest d = PasswordDigest.generateDigest();
- byte[] s = d.getSecret(); // pass this to autenticate
+ byte[] s = d.getSecret(); // pass this to authenticate
String h = d.getHashedPassword() // pass this to the Tor on startup.
In recent versions of Python (with os.urandom):
@@ -572,7 +572,7 @@
In SOCKS4a, this is done by sending these bytes, in order:
0x04 (socks version)
0x01 (connect)
- PORT (two bytes, most signficant byte first)
+ PORT (two bytes, most significant byte first)
0x00 0x00 0x00 0x01 (fake IP address: tells proxy to use
SOCKS4a)
0x00 (empty username field)