Skip to content

Commit

Permalink
ns
Browse files Browse the repository at this point in the history
  • Loading branch information
belaban committed Oct 17, 2011
1 parent 00356e8 commit c59a1a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/org/jgroups/protocols/ENCRYPT.java
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,7 @@ private void setKeys(SecretKey key, String version) throws Exception {
private Message decryptMessage(Cipher cipher, Message msg) throws Exception {
EncryptHeader hdr=(EncryptHeader)msg.getHeader(this.id);
if(!hdr.getVersion().equals(getSymVersion())) {
log.warn("attempting to use stored cipher as message does not uses current encryption version ");
log.warn("attempting to use stored cipher as message does not use current encryption version ");
cipher=keyMap.get(hdr.getVersion());
if(cipher == null) {
log.warn("Unable to find a matching cipher in previous key map");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public void testRanges(Retransmitter xmitter) {
xmitter.add(200, 500);
xmitter.add(100, 300);
System.out.println("xmitter: " + xmitter);
assert xmitter.size() == 401;
assert xmitter.size() == 401 : "size was " + xmitter.size();
}


Expand Down

0 comments on commit c59a1a4

Please sign in to comment.