don't calculate checsum for Data message send through ECIESX25519AEADRatchet session

This commit is contained in:
orignal 2020-05-02 11:13:40 -04:00
parent c49e544781
commit e301387896
6 changed files with 15 additions and 11 deletions

View file

@ -122,6 +122,8 @@ namespace garlic
bool CheckExpired (uint64_t ts); // true is expired
bool CanBeRestarted (uint64_t ts) const { return ts > m_LastActivityTimestamp + ECIESX25519_RESTART_TIMEOUT; }
bool IsRatchets () const { return true; };
private:
void ResetKeys ();