mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
correct receive ratchet tagsetid calculation
This commit is contained in:
parent
3c69e0b2af
commit
349c4e30b6
2 changed files with 5 additions and 4 deletions
|
@ -149,6 +149,7 @@ namespace garlic
|
|||
std::shared_ptr<i2p::crypto::X25519Keys> key;
|
||||
uint8_t remote[32]; // last remote public key
|
||||
bool newKey = true;
|
||||
int GetReceiveTagSetID () const { return newKey ? (2*keyID + 1) : 2*keyID; }
|
||||
};
|
||||
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue