X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=moonshot%2Fmech_eap%2Futil_saml.cpp;h=ce7582e4b4371e8a0011dd951c0e1be8c3146a87;hb=3e6abb79b847b72dd7b8c137e4fdc94b47f7b485;hp=9a3862a5a9136507a0d67809e62bb68e1388d7df;hpb=21f3dbf8824d21b99f2f30f89105b6afbc343f9f;p=moonshot.git diff --git a/moonshot/mech_eap/util_saml.cpp b/moonshot/mech_eap/util_saml.cpp index 9a3862a..ce7582e 100644 --- a/moonshot/mech_eap/util_saml.cpp +++ b/moonshot/mech_eap/util_saml.cpp @@ -83,7 +83,7 @@ gss_eap_saml_assertion_provider::initWithExistingContext(const gss_eap_attr_ctx /* Then we may be creating from an existing attribute context */ const gss_eap_saml_assertion_provider *saml; - assert(m_assertion == NULL); + GSSEAP_ASSERT(m_assertion == NULL); if (!gss_eap_attr_provider::initWithExistingContext(manager, ctx)) return false; @@ -104,7 +104,7 @@ gss_eap_saml_assertion_provider::initWithGssContext(const gss_eap_attr_ctx *mana int authenticated, complete; OM_uint32 minor; - assert(m_assertion == NULL); + GSSEAP_ASSERT(m_assertion == NULL); if (!gss_eap_attr_provider::initWithGssContext(manager, gssCred, gssCtx)) return false; @@ -509,7 +509,7 @@ gss_eap_saml_attr_provider::setAttribute(int complete GSSEAP_UNUSED, attribute->getAttributeValues().push_back(attributeValue); - assert(attributeStatement != NULL); + GSSEAP_ASSERT(attributeStatement != NULL); attributeStatement->getAttributes().push_back(attribute); delete components;