dissect: do not try to dissect the TLV-VALUE of SignatureValue
Change-Id: Idd3fce801d7ca7f0bc8a8c8972ceea43c2735c18
This commit is contained in:
1 parent
7ef5cf7f24
commit
3f588caea2
1 file changed
+3
-4
@@ -146,13 +146,12 @@ NdnDissect::printBlock(const Block& block)
|
||||
m_out << " (size: " << block.value_size() << ")";
|
||||
|
||||
try {
|
||||
// if (block.type() != tlv::Content && block.type() != tlv::SignatureValue)
|
||||
block.parse();
|
||||
if (block.type() != tlv::SignatureValue) {
|
||||
block.parse();
|
||||
}
|
||||
}
|
||||
catch (const tlv::Error&) {
|
||||
// pass (e.g., leaf block reached)
|
||||
|
||||
// @todo: Figure how to deterministically figure out that value is not recursive TLV block
|
||||
}
|
||||
|
||||
const auto& elements = block.elements();
|
||||
|
||||
Reference in new issue
Block a user