don't verify signature twice

This commit is contained in:
orignal 2018-01-25 10:32:08 -05:00
parent b1c701085b
commit 7db2e9dc4a
3 changed files with 4 additions and 4 deletions

View file

@ -57,7 +57,7 @@ namespace data
LeaseSet (const uint8_t * buf, size_t len, bool storeLeases = true);
~LeaseSet () { delete[] m_Buffer; };
void Update (const uint8_t * buf, size_t len);
void Update (const uint8_t * buf, size_t len, bool verifySignature = true);
bool IsNewer (const uint8_t * buf, size_t len) const;
void PopulateLeases (); // from buffer