Title: [823] trunk/jopenssl/src/java/org/jruby/ext/openssl/Cipher.java: Adding a fixme to a piece of code that it bothered me to change
Revision
823
Author
headius
Date
2007-11-30 21:25:35 -0500 (Fri, 30 Nov 2007)

Log Message

Adding a fixme to a piece of code that it bothered me to change

Modified Paths


Diff

Modified: trunk/jopenssl/src/java/org/jruby/ext/openssl/Cipher.java (822 => 823)


--- trunk/jopenssl/src/java/org/jruby/ext/openssl/Cipher.java	2007-12-01 02:24:44 UTC (rev 822)
+++ trunk/jopenssl/src/java/org/jruby/ext/openssl/Cipher.java	2007-12-01 02:25:35 UTC (rev 823)
@@ -518,6 +518,7 @@
     private void doInitialize() {
         ciphInited = true;
         try {
+            // FIXME: I had to make these >= where they were == before; why?
             assert key.length * 8 >= keyLen : "Key wrong length";
             assert iv.length * 8 >= ivLen : "IV wrong length";
             if(!"ECB".equalsIgnoreCase(cryptoMode) && this.iv != null) {
_______________________________________________
Jruby-extras-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/jruby-extras-devel

Reply via email to