[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] Remove code that has been #if-0ed for a long time.
Update of /home/or/cvsroot/tor/src/common
In directory moria:/tmp/cvs-serv10977/src/common
Modified Files:
crypto.c
Log Message:
Remove code that has been #if-0ed for a long time.
Index: crypto.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/common/crypto.c,v
retrieving revision 1.140
retrieving revision 1.141
diff -u -d -r1.140 -r1.141
--- crypto.c 11 Jun 2005 05:31:15 -0000 1.140
+++ crypto.c 15 Jun 2005 18:34:46 -0000 1.141
@@ -1237,22 +1237,6 @@
tor_assert(p);
tor_assert(g);
-#if 0
- /* This is from draft-ietf-ipsec-ike-modp-groups-05.txt. It's a safe
- prime, and supposedly it equals:
- 2^1536 - 2^1472 - 1 + 2^64 * { [2^1406 pi] + 741804 }
- */
- r = BN_hex2bn(&p,
- "FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD1"
- "29024E088A67CC74020BBEA63B139B22514A08798E3404DD"
- "EF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245"
- "E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7ED"
- "EE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3D"
- "C2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F"
- "83655D23DCA3AD961C62F356208552BB9ED529077096966D"
- "670C354E4ABC9804F1746C08CA237327FFFFFFFFFFFFFFFF");
-#endif
-
/* This is from rfc2409, section 6.2. It's a safe prime, and
supposedly it equals:
2^1024 - 2^960 - 1 + 2^64 * { [2^894 pi] + 129093 }.