Skip to content
Snippets Groups Projects
Commit b7aec131 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

crypto: make cachedId mutable

parent 31d76b10
No related branches found
No related tags found
No related merge requests found
...@@ -598,8 +598,8 @@ struct OPENDHT_PUBLIC Certificate { ...@@ -598,8 +598,8 @@ struct OPENDHT_PUBLIC Certificate {
private: private:
Certificate(const Certificate&) = delete; Certificate(const Certificate&) = delete;
Certificate& operator=(const Certificate&) = delete; Certificate& operator=(const Certificate&) = delete;
InfoHash cachedId_ {}; mutable InfoHash cachedId_ {};
PkId cachedLongId_ {}; mutable PkId cachedLongId_ {};
struct crlNumberCmp { struct crlNumberCmp {
bool operator() (const std::shared_ptr<RevocationList>& lhs, const std::shared_ptr<RevocationList>& rhs) const { bool operator() (const std::shared_ptr<RevocationList>& lhs, const std::shared_ptr<RevocationList>& rhs) const {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment