projects
/
moonshot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c0bb58
)
return assertion also in display_value; do not assume value
author
Luke Howard
<lukeh@padl.com>
Sat, 2 Apr 2011 13:06:33 +0000
(
00:06
+1100)
committer
Luke Howard
<lukeh@padl.com>
Sat, 2 Apr 2011 13:07:33 +0000
(
00:07
+1100)
and display_value parameters are non-NULL
mech_eap/util_saml.cpp
patch
|
blob
|
history
diff --git
a/mech_eap/util_saml.cpp
b/mech_eap/util_saml.cpp
index
245cafd
..
d02fa73
100644
(file)
--- a/
mech_eap/util_saml.cpp
+++ b/
mech_eap/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;