Author: dbkr
Date: 2006-07-19 12:21:02 +0000 (Wed, 19 Jul 2006)
New Revision: 9662

Modified:
   trunk/apps/Freemail/src/freemail/OutboundContact.java
Log:
Glad I noticed that before spending hours debugging it...


Modified: trunk/apps/Freemail/src/freemail/OutboundContact.java
===================================================================
--- trunk/apps/Freemail/src/freemail/OutboundContact.java       2006-07-19 
11:59:22 UTC (rev 9661)
+++ trunk/apps/Freemail/src/freemail/OutboundContact.java       2006-07-19 
12:21:02 UTC (rev 9662)
@@ -187,7 +187,7 @@
                enccipher.init(true, their_pub_key);
                byte[] encmsg = null;
                try {
-                       encmsg = 
ChainedAsymmetricBlockCipher.encrypt(sigcipher, bos.toByteArray());
+                       encmsg = 
ChainedAsymmetricBlockCipher.encrypt(enccipher, bos.toByteArray());
                } catch (InvalidCipherTextException e) {
                        e.printStackTrace();
                        return false;


Reply via email to