reduce range for extra tags

This commit is contained in:
orignal 2021-05-10 20:20:25 -04:00
parent 1285e30b3e
commit c6cdb26f47
2 changed files with 3 additions and 2 deletions

View file

@ -88,7 +88,8 @@ namespace garlic
bool IsNS () const { return m_IsNS; };
std::shared_ptr<ECIESX25519AEADRatchetSession> GetSession () { return m_Session; };
void SetTrimBehind (int index) { if (index > m_TrimBehindIndex) m_TrimBehindIndex = index; };
int GetTrimBehind () const { return m_TrimBehindIndex; };
void Expire ();
bool IsExpired (uint64_t ts) const;