projects
/
shibboleth
/
cpp-opensaml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9feb317
)
Add implicit support for a "null" protocol.
author
Scott Cantor
<cantor.2@osu.edu>
Fri, 8 Feb 2008 17:13:28 +0000
(17:13 +0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Fri, 8 Feb 2008 17:13:28 +0000
(17:13 +0000)
saml/saml2/metadata/impl/MetadataImpl.cpp
patch
|
blob
|
history
diff --git
a/saml/saml2/metadata/impl/MetadataImpl.cpp
b/saml/saml2/metadata/impl/MetadataImpl.cpp
index
c7088ea
..
91615d9
100644
(file)
--- a/
saml/saml2/metadata/impl/MetadataImpl.cpp
+++ b/
saml/saml2/metadata/impl/MetadataImpl.cpp
@@
-965,6
+965,8
@@
namespace opensaml {
IMPL_TYPED_CHILDREN(ContactPerson,m_pos_ContactPerson);
bool hasSupport(const XMLCh* protocol) const {
+ if (!protocol || !*protocol)
+ return true;
if (m_ProtocolSupportEnumeration) {
// Look for first character.
unsigned int len=XMLString::stringLen(protocol);