aboutsummaryrefslogtreecommitdiff
path: root/src/common/crypto.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-08-15 01:03:50 +0000
committerRoger Dingledine <arma@torproject.org>2005-08-15 01:03:50 +0000
commit121ea4dd933b78b77189823557a5728a736a9a2f (patch)
treeb973a0ecbae6b62c5d14aeab5b89d3f3909a071e /src/common/crypto.c
parentcc1b82ade8940380e3a6779759d6c4f74dfb26c8 (diff)
downloadtor-121ea4dd933b78b77189823557a5728a736a9a2f.tar.gz
tor-121ea4dd933b78b77189823557a5728a736a9a2f.zip
a url for better reference
svn:r4778
Diffstat (limited to 'src/common/crypto.c')
-rw-r--r--src/common/crypto.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c
index 472af33cd2..1f1a47aa97 100644
--- a/src/common/crypto.c
+++ b/src/common/crypto.c
@@ -1374,6 +1374,7 @@ int crypto_dh_get_public(crypto_dh_env_t *dh, char *pubkey, size_t pubkey_len)
/** Check for bad diffie-hellman public keys (g^x). Return 0 if the key is
* okay, or -1 if it's bad.
+ * See http://www.cl.cam.ac.uk/ftp/users/rja14/psandqs.ps.gz for some tips.
*/
static int
tor_check_dh_key(BIGNUM *bn)