Skip to content
Snippets Groups Projects
Commit 5ef29278 authored by Roger Dingledine's avatar Roger Dingledine
Browse files

correct nick's comment

svn:r5360
parent f14743a9
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment