security: include certificate name in KeyLocator
refs #5112
Change-Id: I0066b30ea48d8a51c66630aa186a372280eecd7f
diff --git a/tests/unit/security/validator-fixture.cpp b/tests/unit/security/validator-fixture.cpp
index 5d50794..8048fc4 100644
--- a/tests/unit/security/validator-fixture.cpp
+++ b/tests/unit/security/validator-fixture.cpp
@@ -36,8 +36,12 @@
processInterest = [this] (const Interest& interest) {
auto cert = cache.find(interest);
if (cert != nullptr) {
+ BOOST_TEST_MESSAGE("ValidatorFixture processInterest " << interest << " reply " << cert->getName());
face.receive(*cert);
}
+ else {
+ BOOST_TEST_MESSAGE("ValidatorFixture processInterest " << interest << " no reply");
+ }
};
}