Browse Source

correct reply key for short tunnel build record

pull/1677/head
orignal 3 years ago
parent
commit
c2334db8f8
  1. 2
      libi2pd/I2NPProtocol.cpp

2
libi2pd/I2NPProtocol.cpp

@ -686,7 +686,7 @@ namespace i2p
} }
} }
else else
i2p::crypto::ChaCha20 (reply, SHORT_TUNNEL_BUILD_RECORD_SIZE, noiseState.m_CK, nonce, reply); i2p::crypto::ChaCha20 (reply, SHORT_TUNNEL_BUILD_RECORD_SIZE, replyKey, nonce, reply);
reply += SHORT_TUNNEL_BUILD_RECORD_SIZE; reply += SHORT_TUNNEL_BUILD_RECORD_SIZE;
} }
// send reply // send reply

Loading…
Cancel
Save