projects
/
mech_eap.orig
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
return assertion also in display_value; do not assume value
[mech_eap.orig]
/
util_saml.cpp
diff --git
a/util_saml.cpp
b/util_saml.cpp
index
245cafd
..
d02fa73
100644
(file)
--- a/
util_saml.cpp
+++ b/
util_saml.cpp
@@
-283,7
+283,11
@@
gss_eap_saml_assertion_provider::getAttribute(const gss_buffer_t attr,
XMLHelper::serialize(m_assertion->marshall((DOMDocument *)NULL), str);
- duplicateBuffer(str, value);
+ if (value != NULL)
+ duplicateBuffer(str, value);
+ if (display_value != NULL)
+ duplicateBuffer(str, display_value);
+
*more = 0;
return true;