Ratchet: Change session replace timeout value to match spec

This commit is contained in:
zzz
2020-05-23 11:31:03 +00:00
parent 26e5f4c482
commit 31d7b6fb7d

View File

@@ -72,7 +72,7 @@ public class RatchetSKM extends SessionKeyManager implements SessionTagListener
final static long SESSION_PENDING_DURATION_MS = 3 * 60 * 1000;
// replace an old session created before this if we get a new NS
private static final long SESSION_REPLACE_AGE = 3*60*1000;
private static final long SESSION_REPLACE_AGE = 2*60*1000;
private static final byte[] ZEROLEN = new byte[0];