https://issues.shibboleth.net/jira/browse/CPPXT-16
authorScott Cantor <cantor.2@osu.edu>
Fri, 6 Jun 2008 23:53:57 +0000 (23:53 +0000)
committerScott Cantor <cantor.2@osu.edu>
Fri, 6 Jun 2008 23:53:57 +0000 (23:53 +0000)
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)) {