mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-16 04:39:54 +01:00
Don't clone secrets until they're needed.
This commit is contained in:
@@ -72,8 +72,6 @@ public class TransportConnectionRecogniserTest extends BriarTestCase {
|
||||
new TransportConnectionRecogniser(crypto, db, transportId);
|
||||
recogniser.addSecret(s);
|
||||
recogniser.removeSecret(contactId, 0);
|
||||
// The secret should have been erased
|
||||
assertArrayEquals(new byte[32], secret);
|
||||
context.assertIsSatisfied();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user