CVS update: JGroups/src/org/jgroups/protocols ENCRYPT.java

"Bela Ban" <[email protected]> Wed, 29 Sep 2010 14:21:17 +0000
Newsgroups gmane.comp.java.javagroups.cvs
Message-ID <[email protected]>
  User: belaban 
  Date: 10/09/29 14:21:17

  Modified:    src/org/jgroups/protocols ENCRYPT.java
  Log:
  fix encrypt_entire_message (https://jira.jboss.org/browse/JGRP-1242)
  
  Revision  Changes    Path
  1.62      +3 -3      JGroups/src/org/jgroups/protocols/ENCRYPT.java
  
  Index: ENCRYPT.java
  ===================================================================
  RCS file: /cvsroot/javagroups/JGroups/src/org/jgroups/protocols/ENCRYPT.java,v
  retrieving revision 1.61
  retrieving revision 1.62
  diff -u -r1.61 -r1.62
  --- ENCRYPT.java	17 Aug 2010 08:36:06 -0000	1.61
  +++ ENCRYPT.java	29 Sep 2010 14:21:17 -0000	1.62
  @@ -1,4 +1,4 @@
  -// $Id: ENCRYPT.java,v 1.61 2010/08/17 08:36:06 belaban Exp $
  +// $Id: ENCRYPT.java,v 1.62 2010/09/29 14:21:17 belaban Exp $
   
   package org.jgroups.protocols;
   
  @@ -520,7 +520,7 @@
               return;
           }
   
  -        if(msg.getLength() == 0) {
  +        if(msg.getLength() == 0 && !encrypt_entire_message) {
               passItUp(evt);
               return;
           }
  @@ -896,7 +896,7 @@
           }
   
           Message msg=(Message)evt.getArg();
  -        if(msg.getLength() == 0) {
  +        if(msg.getLength() == 0 && !encrypt_entire_message) {
               passItDown(evt);
               return;
           }
  
  
  

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev