summaryrefslogtreecommitdiff
path: root/gnu/javax/crypto/cipher/Rijndael.java
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/javax/crypto/cipher/Rijndael.java')
-rw-r--r--gnu/javax/crypto/cipher/Rijndael.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/javax/crypto/cipher/Rijndael.java b/gnu/javax/crypto/cipher/Rijndael.java
index 0463fe51d..6ce394360 100644
--- a/gnu/javax/crypto/cipher/Rijndael.java
+++ b/gnu/javax/crypto/cipher/Rijndael.java
@@ -1,5 +1,5 @@
/* Rijndael.java --
- Copyright (C) 2001, 2002, 2003, 2006 Free Software Foundation, Inc.
+ Copyright (C) 2001, 2002, 2003, 2006, 2010 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -64,7 +64,8 @@ import java.util.logging.Logger;
public final class Rijndael
extends BaseCipher
{
- private static final Logger log = Logger.getLogger(Rijndael.class.getName());
+ private static final Logger log = Configuration.DEBUG ?
+ Logger.getLogger(Rijndael.class.getName()) : null;
private static final int DEFAULT_BLOCK_SIZE = 16; // in bytes
private static final int DEFAULT_KEY_SIZE = 16; // in bytes
private static final String SS =