all: Fixing compatibility with NFD 0.5 and ndn-cxx 0.5
Change-Id: I3d23acf29f4858049d1040a3e421e1c7151b3aba
diff --git a/utils/dummy-keychain.cpp b/utils/dummy-keychain.cpp
index fefc86e..632e6be 100644
--- a/utils/dummy-keychain.cpp
+++ b/utils/dummy-keychain.cpp
@@ -21,6 +21,7 @@
#include <ndn-cxx/util/io.hpp>
#include <boost/iostreams/device/array.hpp>
+#include <boost/iostreams/stream.hpp>
namespace ndn {
namespace security {
@@ -119,7 +120,7 @@
KeyType
DummyPublicInfo::getPublicKeyType(const Name& keyName)
{
- return KEY_TYPE_RSA;
+ return KeyType::RSA;
}
bool
@@ -141,7 +142,7 @@
typedef boost::iostreams::stream<boost::iostreams::array_source> arrayStream;
arrayStream
is(reinterpret_cast<const char*>(DUMMY_CERT), sizeof(DUMMY_CERT));
- cert = io::load<IdentityCertificate>(is, io::BASE_64);
+ cert = io::load<IdentityCertificate>(is, io::BASE64);
}
return cert;