remove tag after tagset expiration

This commit is contained in:
orignal 2021-01-07 14:51:23 -05:00
parent b1262d54de
commit aedcd1bcc0
2 changed files with 7 additions and 2 deletions

View file

@ -107,7 +107,7 @@ namespace garlic
bool ReceiveRatchetTagSet::IsIndexExpired (int index) const
{
return index < m_TrimBehindIndex || !m_Session || m_Session->IsTerminated ();
return index < m_TrimBehindIndex;
}
bool ReceiveRatchetTagSet::HandleNextMessage (uint8_t * buf, size_t len, int index)