projects
/
moonshot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5367a3d
)
fix uninitialised return code in encodeExtensions
author
Luke Howard
<lukeh@padl.com>
Mon, 18 Oct 2010 22:04:59 +0000
(09:04 +1100)
committer
Luke Howard
<lukeh@padl.com>
Mon, 18 Oct 2010 22:04:59 +0000
(09:04 +1100)
mech_eap/util_exts.c
patch
|
blob
|
history
diff --git
a/mech_eap/util_exts.c
b/mech_eap/util_exts.c
index
5cdbf1b
..
46534d9
100644
(file)
--- a/
mech_eap/util_exts.c
+++ b/
mech_eap/util_exts.c
@@
-395,6
+395,9
@@
encodeExtensions(OM_uint32 *minor,
assert(p == (unsigned char *)buffer->value + required);
assert(buffer->value != NULL);
+ major = GSS_S_COMPLETE;
+ *minor = 0;
+
cleanup:
if (GSS_ERROR(major)) {
gss_release_buffer(&tmpMinor, buffer);