X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fopensaml2.git;a=blobdiff_plain;f=saml%2Fsaml2%2Fmetadata%2Fimpl%2FAbstractMetadataProvider.cpp;fp=saml%2Fsaml2%2Fmetadata%2Fimpl%2FAbstractMetadataProvider.cpp;h=fd7948c93cf2dbb133a02517ef1c5ba3662f26a2;hp=dd9cc1418796d315b429e8f7f8afd9a15f3bd010;hb=7bdf6cbec48950260247c956f3cd2d91d449e34d;hpb=c9e6b07b08da6bec1566b5f2f63eb5cf6b3caa5b diff --git a/saml/saml2/metadata/impl/AbstractMetadataProvider.cpp b/saml/saml2/metadata/impl/AbstractMetadataProvider.cpp index dd9cc14..fd7948c 100644 --- a/saml/saml2/metadata/impl/AbstractMetadataProvider.cpp +++ b/saml/saml2/metadata/impl/AbstractMetadataProvider.cpp @@ -205,7 +205,7 @@ pair AbstractMetadataProvider::ge if (!result.first && !criteria.validOnly && range.first!=range.second) result.first = range.first->second; - if (result.first && criteria.role && criteria.protocol) { + if (result.first && criteria.role) { result.second = result.first->getRoleDescriptor(*criteria.role, criteria.protocol); if (!result.second && criteria.protocol2) result.second = result.first->getRoleDescriptor(*criteria.role, criteria.protocol2);