projects
/
moonshot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use GSSEAP_ASSERT macro instead of assert
[moonshot.git]
/
moonshot
/
mech_eap
/
util_saml.cpp
diff --git
a/moonshot/mech_eap/util_saml.cpp
b/moonshot/mech_eap/util_saml.cpp
index
9a3862a
..
ce7582e
100644
(file)
--- 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;
/* 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;
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;
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;
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);
attribute->getAttributeValues().push_back(attributeValue);
-
assert
(attributeStatement != NULL);
+
GSSEAP_ASSERT
(attributeStatement != NULL);
attributeStatement->getAttributes().push_back(attribute);
delete components;
attributeStatement->getAttributes().push_back(attribute);
delete components;