mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 21:37:17 +01:00
key for next send ratchet
This commit is contained in:
parent
5f1e66d64b
commit
6f2e6ed887
|
@ -391,7 +391,7 @@ namespace garlic
|
|||
else
|
||||
m_NextSendRatchet.reset (new DHRatchet ());
|
||||
if (m_NextSendRatchet->newKey)
|
||||
m_NextSendRatchet->key->GenerateKeys ();
|
||||
m_NextSendRatchet->key = i2p::transport::transports.GetNextX25519KeysPair ();
|
||||
|
||||
m_SendForwardKey = true;
|
||||
LogPrint (eLogDebug, "Garlic: new send ratchet ", m_NextSendRatchet->newKey ? "new" : "old", " key ", m_NextSendRatchet->keyID, " created");
|
||||
|
|
Loading…
Reference in a new issue