[freenet-cvs] r17318 - trunk/freenet/src/freenet/crypt
nextgens at freenetproject.org
nextgens at freenetproject.org
Sun Jan 27 13:40:56 UTC 2008
Author: nextgens
Date: 2008-01-27 13:40:56 +0000 (Sun, 27 Jan 2008)
New Revision: 17318
Modified:
trunk/freenet/src/freenet/crypt/DSAPrivateKey.java
Log:
doh!
Modified: trunk/freenet/src/freenet/crypt/DSAPrivateKey.java
===================================================================
--- trunk/freenet/src/freenet/crypt/DSAPrivateKey.java 2008-01-27 13:32:37 UTC (rev 17317)
+++ trunk/freenet/src/freenet/crypt/DSAPrivateKey.java 2008-01-27 13:40:56 UTC (rev 17318)
@@ -35,7 +35,7 @@
BigInteger tempX;
do {
tempX = new NativeBigInteger(256, r);
- } while (tempX.compareTo(g.getQ()) > -1 || tempX.equals(BigInteger.ZERO));
+ } while (tempX.compareTo(g.getQ()) > -1 || tempX.compareTo(BigInteger.ZERO) < 1);
this.x = tempX;
}
More information about the cvs
mailing list