[Ndn-lib] ndn-cxx Exclude with ImplicitSha256Digest

Thompson, Jeff jefft0 at remap.ucla.edu
Tue Jul 12 16:07:15 PDT 2016

Hello ndn-cxx team,

The unit test code below fails. But it seems that it should succeed. The component is an ImplicitSha256Digest which is before the generic component “C”, so it should be excluded, right?

  Exclude exclude;
  name::Component component = name::Component::fromImplicitSha256Digest
    ((const uint8_t*)"00000000000000000000000000000000", 32);
  BOOST_CHECK_EQUAL(exclude.isExcluded(component), true);

- Jeff T
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-lib/attachments/20160712/0cc388c5/attachment.html>

More information about the Ndn-lib mailing list