security: IMPORTANT CHANGE!! Change Validator constructor to accept Face& instead of shared_ptr<Face>
The old API is kept as deprecated, but will be removed as soon as all
known applications are checked and updated to use new API.
Refs: #1481
Change-Id: Iba0f92b3a3cd48235688f52ab89b2d1f0be9124b
diff --git a/src/security/conf/checker.hpp b/src/security/conf/checker.hpp
index b1aaf7b..72ae726 100644
--- a/src/security/conf/checker.hpp
+++ b/src/security/conf/checker.hpp
@@ -108,7 +108,7 @@
}
catch (const Signature::Error& e)
{
- onValidationFailed(interest.shared_from_this(), "No valid signature");
+ onValidationFailed(interest.shared_from_this(), "Invalid signature");
return -1;
}
}
@@ -228,7 +228,7 @@
}
catch (const Signature::Error& e)
{
- onValidationFailed(interest.shared_from_this(), "No valid signature");
+ onValidationFailed(interest.shared_from_this(), "Invalid signature");
return -1;
}
}