From 6a69cef2a89c51879080d4bb0450a5d01b2e285e Mon Sep 17 00:00:00 2001 From: zzz <zzz@mail.i2p> Date: Sat, 29 Aug 2020 13:41:48 +0000 Subject: [PATCH] Ratchet: Minor cleanup --- .../java/src/net/i2p/router/crypto/ratchet/ECIESAEADEngine.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/router/java/src/net/i2p/router/crypto/ratchet/ECIESAEADEngine.java b/router/java/src/net/i2p/router/crypto/ratchet/ECIESAEADEngine.java index feca72994d..56183161cf 100644 --- a/router/java/src/net/i2p/router/crypto/ratchet/ECIESAEADEngine.java +++ b/router/java/src/net/i2p/router/crypto/ratchet/ECIESAEADEngine.java @@ -1271,9 +1271,9 @@ public final class ECIESAEADEngine { * @since 0.9.47 */ private void setResponseTimer(PublicKey from, List<GarlicClove> cloveSet, RatchetSKM skm) { - Destination us = skm.getDestination(); Destination d = skm.getDestination(from); if (d != null) { + Destination us = skm.getDestination(); ACKTimer ack = new ACKTimer(_context, us, d); if (skm.registerTimer(from, null, ack)) { ack.schedule(1000); -- GitLab