fix ca storage cannot repeat REVOKE and optimize ca-memory with index
Change-Id: I3c254e1cd93d5ff562c501c0296ef7bd84634cb2
diff --git a/src/ca-storage-detail/ca-memory.hpp b/src/ca-storage-detail/ca-memory.hpp
index 63fded7..25b2e25 100644
--- a/src/ca-storage-detail/ca-memory.hpp
+++ b/src/ca-storage-detail/ca-memory.hpp
@@ -73,6 +73,8 @@
private:
std::map<std::string, CaState> m_requests;
std::map<std::string, security::v2::Certificate> m_issuedCerts;
+ std::map<Name, std::set<std::string>> m_requestKeyIndex;
+ std::map<Name, std::string> m_certsKeyIndex;
};
} // namespace ndncert