https://bugs.internet2.edu/jira/browse/CPPXT-16
authorcantor <cantor@de75baf8-a10c-0410-a50a-987c0e22f00f>
Fri, 6 Jun 2008 23:53:57 +0000 (23:53 +0000)
committercantor <cantor@de75baf8-a10c-0410-a50a-987c0e22f00f>
Fri, 6 Jun 2008 23:53:57 +0000 (23:53 +0000)
git-svn-id: https://svn.middleware.georgetown.edu/cpp-xmltooling/branches/REL_1@499 de75baf8-a10c-0410-a50a-987c0e22f00f

xmltooling/security/impl/InlineKeyResolver.cpp

index 45136c5..6b71a9a 100644 (file)
@@ -172,6 +172,8 @@ void InlineCredential::resolve(const KeyInfo* keyInfo, int types)
             // If we have a cert, just use it.
             if (!m_xseccerts.empty())
                 m_key = m_xseccerts.front()->clonePublicKey();
+            else
+                resolveKey(keyInfo);
         }
         // Otherwise try directly for a key and then go for certs if none is found.
         else if (!resolveKey(keyInfo) && resolveCerts(keyInfo)) {