try boost 1.65
Change-Id: I425bab159a778455fb4bcc6144274c2c068f42de
diff --git a/tools/ndncert-ca-server.cpp b/tools/ndncert-ca-server.cpp
index c633c83..8acd13b 100644
--- a/tools/ndncert-ca-server.cpp
+++ b/tools/ndncert-ca-server.cpp
@@ -39,7 +39,11 @@
static bool
writeDataToRepo(const Data& data) {
boost::asio::ip::tcp::iostream requestStream;
- requestStream.expires_after(std::chrono::seconds(3));
+#if BOOST_VERSION >= 106600
+ requestStream.expires_after(std::chrono::seconds(3));
+#else
+ requestStream.expires_at(std::chrono::seconds(3));
+#endif
requestStream.connect(repoHost, repoPort);
if (!requestStream) {
std::cerr << "ERROR: Cannot publish certificate to repo-ng"