[freenet-cvs] r18352 - trunk/freenet/src/freenet/node
toad at freenetproject.org
toad at freenetproject.org
Tue Mar 4 17:09:13 UTC 2008
Author: toad
Date: 2008-03-04 17:09:13 +0000 (Tue, 04 Mar 2008)
New Revision: 18352
Modified:
trunk/freenet/src/freenet/node/NodeCrypto.java
Log:
Don't include the full crypto data on ARKs. (We weren't, until the recent changes).
Modified: trunk/freenet/src/freenet/node/NodeCrypto.java
===================================================================
--- trunk/freenet/src/freenet/node/NodeCrypto.java 2008-03-04 17:08:15 UTC (rev 18351)
+++ trunk/freenet/src/freenet/node/NodeCrypto.java 2008-03-04 17:09:13 UTC (rev 18352)
@@ -282,7 +282,7 @@
* Already signed so dump the signature.
*/
SimpleFieldSet exportPublicFieldSet(boolean forSetup, boolean forAnonInitiator, boolean forARK) {
- SimpleFieldSet fs = exportPublicCryptoFieldSet(forSetup, forAnonInitiator);
+ SimpleFieldSet fs = exportPublicCryptoFieldSet(forSetup || forARK, forAnonInitiator);
if((!forAnonInitiator) && (!forSetup)) {
// IP addresses
Peer[] ips = detector.detectPrimaryPeers();
More information about the cvs
mailing list