X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=blobdiff_plain;f=saml%2Fbinding%2Fimpl%2FXMLSigningRule.cpp;h=bd2c5e673735bbe48da0e7ebb71e163aa4989c36;hp=fab79bcd825c804e70eb9868ea4e09f8a5da4b95;hb=bf32f9265ac717ee1537ec442e5a2d54e169d486;hpb=197bcbae7339bc779bc5780882d11fdeb45f8223 diff --git a/saml/binding/impl/XMLSigningRule.cpp b/saml/binding/impl/XMLSigningRule.cpp index fab79bc..bd2c5e6 100644 --- a/saml/binding/impl/XMLSigningRule.cpp +++ b/saml/binding/impl/XMLSigningRule.cpp @@ -70,7 +70,6 @@ XMLSigningRule::XMLSigningRule(const DOMElement* e) : m_errorsFatal(false) void XMLSigningRule::evaluate(const XMLObject& message, const GenericRequest* request, SecurityPolicy& policy) const { Category& log=Category::getInstance(SAML_LOGCAT".SecurityPolicyRule.XMLSigning"); - log.debug("evaluating message signing policy"); if (!policy.getIssuerMetadata()) { log.debug("ignoring message, no issuer metadata supplied"); @@ -82,10 +81,8 @@ void XMLSigningRule::evaluate(const XMLObject& message, const GenericRequest* re } const SignableObject* signable = dynamic_cast(&message); - if (!signable || !signable->getSignature()) { - log.debug("ignoring unsigned or unrecognized message"); + if (!signable || !signable->getSignature()) return; - } log.debug("validating signature profile"); try {