diff options
author | Moxie Marlinspike <moxie@thoughtcrime.org> | 2015-04-06 12:21:54 -0700 |
---|---|---|
committer | Moxie Marlinspike <moxie@thoughtcrime.org> | 2015-04-06 12:21:54 -0700 |
commit | 3d9c94428898f6e633b67082237b620c7877f5c1 (patch) | |
tree | 07c0b0d5c4ad1698b2436c47acc7a3858b8c6c2f /tests/src/test/java/org/whispersystems/libaxolotl | |
parent | 0c98e9f80eaa81da7f4e557395ad7714e690c661 (diff) |
Add decryption callback to group decrypt operations.
Diffstat (limited to 'tests/src/test/java/org/whispersystems/libaxolotl')
-rw-r--r-- | tests/src/test/java/org/whispersystems/libaxolotl/SessionBuilderTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/test/java/org/whispersystems/libaxolotl/SessionBuilderTest.java b/tests/src/test/java/org/whispersystems/libaxolotl/SessionBuilderTest.java index 1105ffc6..9bf8fcb3 100644 --- a/tests/src/test/java/org/whispersystems/libaxolotl/SessionBuilderTest.java +++ b/tests/src/test/java/org/whispersystems/libaxolotl/SessionBuilderTest.java @@ -135,7 +135,7 @@ public class SessionBuilderTest extends TestCase { bobStore.storeSignedPreKey(22, new SignedPreKeyRecord(22, System.currentTimeMillis(), bobSignedPreKeyPair, bobSignedPreKeySignature)); SessionCipher bobSessionCipher = new SessionCipher(bobStore, ALICE_ADDRESS); - byte[] plaintext = bobSessionCipher.decrypt(incomingMessage, new SessionCipher.DecryptionCallback() { + byte[] plaintext = bobSessionCipher.decrypt(incomingMessage, new DecryptionCallback() { @Override public void handlePlaintext(byte[] plaintext) { assertTrue(originalMessage.equals(new String(plaintext))); |