commit | ebfe4a207f658a77b5249cda4bd0bc35ede82066 | [log] [tgz] |
---|---|---|
author | Junxiao Shi <git@mail1.yoursunny.com> | Sun Apr 01 23:53:40 2018 +0000 |
committer | Junxiao Shi <git@mail1.yoursunny.com> | Sun Apr 01 23:53:40 2018 +0000 |
tree | cb27ce64b7efb130a1de3b9e6c9e1d5c6ba30d98 | |
parent | b849f61b6bc35a050cf3d1d15d07cf639b2732f1 [diff] [blame] |
meta-info: allow typed name component in FinalBlockId refs #4526 Change-Id: I3b6667928fa47c631e45ff5f0ca2c5030c5cc2ad
diff --git a/tests/unit-tests/security/v2/certificate-bundle-fetcher.t.cpp b/tests/unit-tests/security/v2/certificate-bundle-fetcher.t.cpp index f9bc22c..d2e0565 100644 --- a/tests/unit-tests/security/v2/certificate-bundle-fetcher.t.cpp +++ b/tests/unit-tests/security/v2/certificate-bundle-fetcher.t.cpp
@@ -128,7 +128,7 @@ certBundle->setName(bundleName); certBundle->setFreshnessPeriod(100_s); certBundle->setContent(certList); - certBundle->setFinalBlockId(name::Component::fromSegment(1)); + certBundle->setFinalBlock(name::Component::fromSegment(1)); m_keyChain.sign(*certBundle, signingWithSha256());