projects
/
moonshot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4493ad1
)
don't set display_value for binary RADIUS attributes
author
Luke Howard
<lukeh@padl.com>
Mon, 16 May 2011 13:49:02 +0000
(15:49 +0200)
committer
Luke Howard
<lukeh@padl.com>
Mon, 16 May 2011 13:49:02 +0000
(15:49 +0200)
moonshot/mech_eap/util_radius.cpp
patch
|
blob
|
history
diff --git
a/moonshot/mech_eap/util_radius.cpp
b/moonshot/mech_eap/util_radius.cpp
index
395755a
..
0ab02b9
100644
(file)
--- a/
moonshot/mech_eap/util_radius.cpp
+++ b/
moonshot/mech_eap/util_radius.cpp
@@
-405,7
+405,8
@@
gss_eap_radius_attr_provider::getAttribute(uint32_t attrid,
duplicateBuffer(valueBuf, value);
}
- if (display_value != GSS_C_NO_BUFFER) {
+ if (display_value != GSS_C_NO_BUFFER &&
+ vp->type != PW_TYPE_OCTETS) {
char displayString[MAX_STRING_LEN];
gss_buffer_desc displayBuf;