summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-11-11 21:44:38 +0000
committerRoger Dingledine <arma@torproject.org>2005-11-11 21:44:38 +0000
commit5ef29278706e7d487ba167ab4f0329fa3cb61818 (patch)
tree2568b6d02bc6bbfa344ace9c0f63e54d61d8c5a7
parentf14743a975a2303090c6e5d790d0e24e06027d9d (diff)
downloadtor-5ef29278706e7d487ba167ab4f0329fa3cb61818.tar.gz
tor-5ef29278706e7d487ba167ab4f0329fa3cb61818.zip
correct nick's comment
svn:r5360
-rw-r--r--src/common/crypto.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c
index 82f36d4b51..4efee015da 100644
--- a/src/common/crypto.c
+++ b/src/common/crypto.c
@@ -1480,11 +1480,12 @@ tor_check_dh_key(BIGNUM *bn)
/* 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;