commit | 258d51a6d8df19ce70b87b67c13e9d59e659649a | [log] [tgz] |
---|---|---|
author | Davide Pesavento <davidepesa@gmail.com> | Sun Feb 27 21:26:28 2022 -0500 |
committer | Davide Pesavento <davidepesa@gmail.com> | Tue Mar 08 18:52:34 2022 -0500 |
tree | 1ba4affb9e5aaa176d48b5b10a11a4d16ffcd778 | |
parent | 0838f3dacc55630c4a89d4c2a7a7aabef1d8208e [diff] [blame] |
encoding: make Block convertible to span Change-Id: Idb501467d1c56b95e7fdb76acda63b919fe98f85
diff --git a/tests/unit/security/validation-policy-config.t.cpp b/tests/unit/security/validation-policy-config.t.cpp index 32fbf01..83c6f52 100644 --- a/tests/unit/security/validation-policy-config.t.cpp +++ b/tests/unit/security/validation-policy-config.t.cpp
@@ -247,7 +247,7 @@ { using namespace ndn::security::transform; const auto& cert = this->identity.getDefaultKey().getDefaultCertificate().wireEncode(); - bufferSource(make_span(cert.wire(), cert.size())) >> base64Encode(false) >> streamSink(os); + bufferSource(cert) >> base64Encode(false) >> streamSink(os); } this->policy.load(this->baseConfig + R"CONF(