[jboss-jira] [JBoss JIRA] Resolved: (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 10:26:40 EDT 2010


     [ https://jira.jboss.org/browse/JGRP-1242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bela Ban resolved JGRP-1242.
----------------------------

    Resolution: Done


Added the check as suggested

> 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.10.1, 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