https://issues.shibboleth.net/jira/browse/CPPOST-11
[shibboleth/cpp-opensaml.git] / saml / saml2 / metadata / impl / SignatureMetadataFilter.cpp
index 3228301..bdd2852 100644 (file)
@@ -147,6 +147,7 @@ void SignatureMetadataFilter::doFilter(XMLObject& xmlObject) const
         if (!entity.getSignature())
             throw MetadataFilterException("Root metadata element was unsigned.");
         verifySignature(entity.getSignature(), entity.getEntityID());
+        return;
     }
     catch (bad_cast) {
     }