Author: nextgens
Date: 2007-03-17 13:11:29 +0000 (Sat, 17 Mar 2007)
New Revision: 12176

Modified:
   trunk/freenet/src/freenet/crypt/ciphers/Rijndael_Algorithm.java
Log:
Fix the Rijindael debugging code (enabling debug was making it send a NPE)

Modified: trunk/freenet/src/freenet/crypt/ciphers/Rijndael_Algorithm.java
===================================================================
--- trunk/freenet/src/freenet/crypt/ciphers/Rijndael_Algorithm.java     
2007-03-17 12:59:18 UTC (rev 12175)
+++ trunk/freenet/src/freenet/crypt/ciphers/Rijndael_Algorithm.java     
2007-03-17 13:11:29 UTC (rev 12176)
@@ -35,8 +35,7 @@

     static final boolean RDEBUG = Rijndael_Properties.GLOBAL_DEBUG;
     static final int debuglevel = RDEBUG ? Rijndael_Properties.getLevel(NAME) 
: 0;
-//    static final PrintWriter err = RDEBUG ? Rijndael_Properties.getOutput() 
: null;
-    static final PrintWriter err = null;
+    static final PrintWriter err = RDEBUG ? Rijndael_Properties.getOutput() : 
null;

     static final boolean TRACE = Rijndael_Properties.isTraceable(NAME);



Reply via email to