X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=xmltoolingtest%2FSignatureTest.h;h=c50b86f6453d135d718e8ec2836132009e9e3dff;hb=39502d6e48aec30be6d00ca60575b9a4cf414733;hp=8f3ec2c336a1a80a9c8f751d015fbf2553cdd22c;hpb=5086646061286fedc8bf70ecc7c02ab41aa572cf;p=shibboleth%2Fcpp-xmltooling.git diff --git a/xmltoolingtest/SignatureTest.h b/xmltoolingtest/SignatureTest.h index 8f3ec2c..c50b86f 100644 --- a/xmltoolingtest/SignatureTest.h +++ b/xmltoolingtest/SignatureTest.h @@ -48,7 +48,7 @@ class TestValidator : public SignatureValidator XMLCh* m_uri; public: - TestValidator(const XMLCh* uri, XSECCryptoKey* key) : SignatureValidator(new KeyResolver(key)) { + TestValidator(const XMLCh* uri) : SignatureValidator(XMLToolingConfig::getConfig().KeyResolverManager.newPlugin(INLINE_KEY_RESOLVER,NULL)) { m_uri=XMLString::replicate(uri); } @@ -157,7 +157,7 @@ public: TS_ASSERT(sxObject2->getSignature()!=NULL); try { - TestValidator tv(&chNull,m_resolver->getKey()); + TestValidator tv(&chNull); tv.validate(sxObject2->getSignature()); } catch (XMLToolingException& e) {