Update ndn-cxx to ndn-cxx-0.8.0-18-g4999b2ed
Change-Id: Ia8825953dbbc0ee718aee1e0d52e57d5feccb9bf
diff --git a/ndn-cxx b/ndn-cxx
index f849c5e..2b51e57 160000
--- a/ndn-cxx
+++ b/ndn-cxx
@@ -1 +1 @@
-Subproject commit f849c5ef310da8375f3546e354ba9c9b1155bc59
+Subproject commit 2b51e5796415b5d41fe268b35250b9453f16d3d6
diff --git a/tests/unit-tests/model/ndn-block-header.t.cpp b/tests/unit-tests/model/ndn-block-header.t.cpp
index 4bfaae4..c41edd7 100644
--- a/tests/unit-tests/model/ndn-block-header.t.cpp
+++ b/tests/unit-tests/model/ndn-block-header.t.cpp
@@ -80,8 +80,6 @@
auto packet(lpPacket.wireEncode());
BlockHeader header(packet);
- BOOST_CHECK_EQUAL(header.GetSerializedSize(), 1350);
-
{
Ptr<Packet> packet = Create<Packet>();
packet->AddHeader(header);
@@ -89,6 +87,9 @@
packet->Print(output);
BOOST_CHECK(output.is_equal("ns3::ndn::Packet (Data: /other/prefix)"));
}
+
+ BOOST_TEST(data.getKeyLocator()->getName() == "/dummy/KEY/-%9C%28r%B8%AA%3B%60/NA/%FD%00%00%01%5E%DF%3C%C6%7C");
+ BOOST_CHECK_EQUAL(header.GetSerializedSize(), 1365);
}
BOOST_AUTO_TEST_CASE(PrintLpPacket)