build: == Dependency change == ChronoChat now depends on ndn-cxx library
Change-Id: I25d1abe8035c34a7d34cba53960e3456d6677fdc
diff --git a/src/validator-panel.cpp b/src/validator-panel.cpp
index 2197d66..9caba64 100644
--- a/src/validator-panel.cpp
+++ b/src/validator-panel.cpp
@@ -27,25 +27,25 @@
const shared_ptr<CertificateCache> certificateCache/* = DEFAULT_CERT_CACHE */)
: m_stepLimit(stepLimit)
, m_certificateCache(certificateCache)
-{
- m_endorseeRule = make_shared<SecRuleRelative>("^([^<DNS>]*)<DNS><>*<ENDORSEE><>$",
- "^([^<KEY>]*)<KEY>(<>*)<ksk-.*><ID-CERT>$",
+{
+ m_endorseeRule = make_shared<SecRuleRelative>("^([^<DNS>]*)<DNS><>*<ENDORSEE><>$",
+ "^([^<KEY>]*)<KEY>(<>*)<ksk-.*><ID-CERT>$",
"==", "\\1", "\\1\\2", true);
}
void
-ValidatorPanel::checkPolicy (const Data& data,
- int stepCount,
- const OnDataValidated& onValidated,
+ValidatorPanel::checkPolicy (const Data& data,
+ int stepCount,
+ const OnDataValidated& onValidated,
const OnDataValidationFailed& onValidationFailed,
std::vector<shared_ptr<ValidationRequest> >& nextSteps)
{
if(m_stepLimit == stepCount)
{
_LOG_ERROR("Reach the maximum steps of verification!");
- onValidationFailed(data.shared_from_this(),
+ onValidationFailed(data.shared_from_this(),
"Reach maximum validation steps: " + data.getName().toUri());
return;
}
@@ -71,7 +71,7 @@
}
catch(SignatureSha256WithRsa::Error &e)
{
- return onValidationFailed(data.shared_from_this(),
+ return onValidationFailed(data.shared_from_this(),
"Not SignatureSha256WithRsa signature: " + data.getName().toUri());
}
catch(KeyLocator::Error &e)