From 3d9c94428898f6e633b67082237b620c7877f5c1 Mon Sep 17 00:00:00 2001 From: Moxie Marlinspike Date: Mon, 6 Apr 2015 12:21:54 -0700 Subject: Add decryption callback to group decrypt operations. --- .../src/test/java/org/whispersystems/libaxolotl/SessionBuilderTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/src/test/java/org/whispersystems/libaxolotl') 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))); -- cgit v1.2.3