Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-1242

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

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 2.10.1, 2.11
    • None
    • None

      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

            rhn-engineering-bban Bela Ban
            rhn-engineering-bban Bela Ban
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: