projects
/
moonshot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c20d851
)
allow complete/authenticated params to be NULL
author
Luke Howard
<lukeh@padl.com>
Tue, 29 Mar 2011 13:49:59 +0000
(
00:49
+1100)
committer
Luke Howard
<lukeh@padl.com>
Tue, 29 Mar 2011 13:49:59 +0000
(
00:49
+1100)
mech_eap/util_attr.cpp
patch
|
blob
|
history
diff --git
a/mech_eap/util_attr.cpp
b/mech_eap/util_attr.cpp
index
9cdcc20
..
4da585d
100644
(file)
--- a/
mech_eap/util_attr.cpp
+++ b/
mech_eap/util_attr.cpp
@@
-882,8
+882,10
@@
gssEapGetNameAttribute(OM_uint32 *minor,
gss_buffer_t display_value,
int *more)
{
- *authenticated = 0;
- *complete = 0;
+ if (authenticated != NULL)
+ *authenticated = 0;
+ if (complete != NULL)
+ *complete = 0;
if (value != NULL) {
value->length = 0;