Actions
Bug #3914
closedSignatureInfo incorrectly encodes order of type-specific TLVs
Start date:
01/10/2017
Due date:
% Done:
100%
Estimated time:
Description
During the encoding, the order is incorrectly reversed.
Effectively, the following snippet fails:
SignatureInfo info1;
info1.appendTypeSpecificTlv(makeStringBlock(101, "First"));
info1.appendTypeSpecificTlv(makeStringBlock(102, "Second"));
info1.appendTypeSpecificTlv(makeStringBlock(103, "Third"));
SignatureInfo info2;
info2.wireDecode(info1.wireEncode());
BOOST_CHECK_EQUAL(info1, info2);
Updated by Alex Afanasyev almost 8 years ago
Updated by Alex Afanasyev almost 8 years ago
- Status changed from Code review to Closed
Actions