From b866fa50681d672f1b047f082f2580fb981c2194 Mon Sep 17 00:00:00 2001 From: cantor Date: Tue, 8 Jun 2010 18:29:04 +0000 Subject: [PATCH] Don't follow references by default. git-svn-id: https://svn.middleware.georgetown.edu/cpp-xmltooling/branches/REL_1@756 de75baf8-a10c-0410-a50a-987c0e22f00f --- xmltooling/security/impl/InlineKeyResolver.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/xmltooling/security/impl/InlineKeyResolver.cpp b/xmltooling/security/impl/InlineKeyResolver.cpp index 6bf427f..ab1d418 100644 --- a/xmltooling/security/impl/InlineKeyResolver.cpp +++ b/xmltooling/security/impl/InlineKeyResolver.cpp @@ -104,13 +104,13 @@ namespace xmltooling { m_credctx = context; } - void resolve(const KeyInfo* keyInfo, int types=0, bool followRefs=true); - void resolve(DSIGKeyInfoList* keyInfo, int types=0, bool followRefs=true); + void resolve(const KeyInfo* keyInfo, int types=0, bool followRefs=false); + void resolve(DSIGKeyInfoList* keyInfo, int types=0, bool followRefs=false); private: - bool resolveCerts(const KeyInfo* keyInfo, bool followRefs=true); - bool resolveKey(const KeyInfo* keyInfo, bool followRefs=true); - bool resolveCRLs(const KeyInfo* keyInfo, bool followRefs=true); + bool resolveCerts(const KeyInfo* keyInfo, bool followRefs=false); + bool resolveKey(const KeyInfo* keyInfo, bool followRefs=false); + bool resolveCRLs(const KeyInfo* keyInfo, bool followRefs=false); KeyInfoCredentialContext* m_credctx; }; @@ -121,7 +121,7 @@ namespace xmltooling { { public: InlineKeyResolver(const DOMElement* e) - : m_followRefs(XMLHelper::getNodeValueAsBool(e ? e->getAttributeNodeNS(nullptr, keyInfoReferences) : nullptr, true)) { + : m_followRefs(XMLHelper::getNodeValueAsBool(e ? e->getAttributeNodeNS(nullptr, keyInfoReferences) : nullptr, false)) { } virtual ~InlineKeyResolver() {} -- 2.1.4