[freenet-cvs] r15103 - trunk/freenet/src/freenet/crypt/ciphers

juiceman at freenetproject.org juiceman at freenetproject.org
Mon Sep 10 03:03:07 UTC 2007


Author: juiceman
Date: 2007-09-10 03:03:06 +0000 (Mon, 10 Sep 2007)
New Revision: 15103

Modified:
   trunk/freenet/src/freenet/crypt/ciphers/Rijndael.java
Log:
Remove a tad bit more pre-1010 cruft

Modified: trunk/freenet/src/freenet/crypt/ciphers/Rijndael.java
===================================================================
--- trunk/freenet/src/freenet/crypt/ciphers/Rijndael.java	2007-09-10 00:51:46 UTC (rev 15102)
+++ trunk/freenet/src/freenet/crypt/ciphers/Rijndael.java	2007-09-10 03:03:06 UTC (rev 15103)
@@ -53,12 +53,7 @@
 			throw new UnsupportedCipherException("Invalid blocksize");
 		this.keysize=keysize;
 		this.blocksize=blocksize;
-		// FIXME This is deliberate insecurity! It is used for backwards compatibility *ONLY*!
-		// FIXME IT MUST BE REMOVED SOON!
-		if(fakeInsecure)
-			this.cryptBlockSize = 128;
-		else
-			this.cryptBlockSize = blocksize;
+		this.cryptBlockSize = blocksize;
 	}
 
 	public Rijndael() {




More information about the cvs mailing list