[jboss-jira] [JBoss JIRA] Created: (JGRP-1242) ENCRYPT: encrypt_entire_message doesn't encrypt when msg.length == 0

Bela Ban (JIRA) jira-events at lists.jboss.org
Wed Sep 29 09:54:40 EDT 2010


ENCRYPT: encrypt_entire_message doesn't encrypt when msg.length == 0
--------------------------------------------------------------------

                 Key: JGRP-1242
                 URL: https://jira.jboss.org/browse/JGRP-1242
             Project: JGroups
          Issue Type: Feature Request
            Reporter: Bela Ban
            Assignee: Bela Ban
             Fix For: 2.11


ENCRYPT.encrypt_entire_message checks (in sendDown()) whether msg.length == 0 and - if true - passes the message *unencrypted* down. However, for example a JOIN_REQ in AUTH should get encrypted !

SOLUTION: change (in down() and up()) the check for msg.length == 0 to msg.length == 0 && !encrypt_entire_message

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list