X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=saml%2Fsaml2%2Fprofile%2Fimpl%2FBearerConfirmationRule.cpp;h=0541c581576568b3d88935c9eb4dfd58b8baf0bf;hb=96bb0cc35b86b6633f0c6aa4ba8f39f62d020834;hp=b197226f02fff6760957deb78170fbaeead54674;hpb=f624e114cdd538215fa5d98ad4b4aedb9dfe4b07;p=shibboleth%2Fcpp-opensaml.git diff --git a/saml/saml2/profile/impl/BearerConfirmationRule.cpp b/saml/saml2/profile/impl/BearerConfirmationRule.cpp index b197226..0541c58 100644 --- a/saml/saml2/profile/impl/BearerConfirmationRule.cpp +++ b/saml/saml2/profile/impl/BearerConfirmationRule.cpp @@ -105,7 +105,7 @@ bool BearerConfirmationRule::evaluate(const XMLObject& message, const GenericReq } } - if (m_correlation && policy.getCorrelationID()) { + if (m_correlation && policy.getCorrelationID() && *(policy.getCorrelationID())) { if (!XMLString::equals(policy.getCorrelationID(), data ? data->getInResponseTo() : NULL)) { msg = "bearer confirmation failed with request correlation mismatch"; continue;