[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] correct nick"s comment
Update of /home2/or/cvsroot/tor/src/common
In directory moria:/home/arma/work/onion/cvs/tor/src/common
Modified Files:
crypto.c
Log Message:
correct nick's comment
Index: crypto.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/common/crypto.c,v
retrieving revision 1.173
retrieving revision 1.174
diff -u -d -r1.173 -r1.174
--- crypto.c 11 Nov 2005 20:18:00 -0000 1.173
+++ crypto.c 11 Nov 2005 21:44:38 -0000 1.174
@@ -1480,11 +1480,12 @@
/* This covers another 2^25 keys, which is still negligible. */
#define MIN_DIST_FROM_EDGE (1<<24)
/* XXXX Note that this is basically voodoo. Really, we only care about 0,
- * 1, 2, and -1. The "number of bits set" business is inherited from some
+ * 1, and p-1. The "number of bits set" business is inherited from some
* dire warnings in the OpenSSH comments. Real Cryptographers assure us
* that these dire warnings are misplaced.
*
- * Still, it can't hurt.
+ * Still, it can't hurt. -NM We will likely remove all the crud from this
+ * function in a future version, though. -RD
*/
int i, n_bits, n_set;
BIGNUM *x = NULL;