time: Adapt to ndn-cpp-dev's new time structure
Change-Id: I4117d4e7aea5347cbaf3ec2e5e5a110f94930262
diff --git a/src/endorse-certificate.h b/src/endorse-certificate.h
index 42f255f..82ac8ba 100644
--- a/src/endorse-certificate.h
+++ b/src/endorse-certificate.h
@@ -38,8 +38,8 @@
EndorseCertificate(const ndn::Name& keyName,
const ndn::PublicKey& key,
- ndn::MillisecondsSince1970 notBefore,
- ndn::MillisecondsSince1970 notAfter,
+ const ndn::time::system_clock::TimePoint& notBefore,
+ const ndn::time::system_clock::TimePoint& notAfter,
const ndn::Name& signer,
const Profile& profile,
const std::vector<std::string>& endorseList = DEFAULT_ENDORSE_LIST);