projects
/
moonshot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
allow complete/authenticated params to be NULL
[moonshot.git]
/
mech_eap
/
util_attr.cpp
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;