mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-05-28 09:56:22 +02:00
don't check session for symmetric key tagset. re-create tags hash if too many used tags
This commit is contained in:
parent
900153765a
commit
2b6a95cbee
4 changed files with 52 additions and 23 deletions
|
@ -117,6 +117,12 @@ namespace garlic
|
|||
return session->HandleNextMessage (buf, len, shared_from_this (), index);
|
||||
}
|
||||
|
||||
bool ReceiveRatchetTagSet::IsSessionTerminated () const
|
||||
{
|
||||
return !m_Session || m_Session->IsTerminated ();
|
||||
}
|
||||
|
||||
|
||||
SymmetricKeyTagSet::SymmetricKeyTagSet (GarlicDestination * destination, const uint8_t * key):
|
||||
ReceiveRatchetTagSet (nullptr), m_Destination (destination)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue