projects
/
shibboleth
/
cpp-xmltooling.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8596b0
)
https://issues.shibboleth.net/jira/browse/CPPXT-16
author
Scott Cantor
<cantor.2@osu.edu>
Fri, 6 Jun 2008 23:53:57 +0000
(23:53 +0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Fri, 6 Jun 2008 23:53:57 +0000
(23:53 +0000)
xmltooling/security/impl/InlineKeyResolver.cpp
patch
|
blob
|
history
diff --git
a/xmltooling/security/impl/InlineKeyResolver.cpp
b/xmltooling/security/impl/InlineKeyResolver.cpp
index
45136c5
..
6b71a9a
100644
(file)
--- a/
xmltooling/security/impl/InlineKeyResolver.cpp
+++ b/
xmltooling/security/impl/InlineKeyResolver.cpp
@@
-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)) {