projects
/
mech_eap.orig
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b88447b
)
initialise output token, cleanup
author
Luke Howard
<lukeh@padl.com>
Mon, 11 Oct 2010 13:00:14 +0000
(15:00 +0200)
committer
Luke Howard
<lukeh@padl.com>
Mon, 11 Oct 2010 13:00:14 +0000
(15:00 +0200)
accept_sec_context.c
patch
|
blob
|
history
gssapi_eap.h
patch
|
blob
|
history
diff --git
a/accept_sec_context.c
b/accept_sec_context.c
index
4a0fe01
..
bac6523
100644
(file)
--- a/
accept_sec_context.c
+++ b/
accept_sec_context.c
@@
-418,6
+418,9
@@
eapGssSmAcceptExtensionsReq(OM_uint32 *minor,
if (GSS_ERROR(major))
return major;
+ outputToken->length = 0;
+ outputToken->value = NULL;
+
ctx->state = EAP_STATE_EXTENSIONS_RESP;
return GSS_S_CONTINUE_NEEDED;
diff --git
a/gssapi_eap.h
b/gssapi_eap.h
index
e5e50e1
..
89923a4
100644
(file)
--- a/
gssapi_eap.h
+++ b/
gssapi_eap.h
@@
-51,7
+51,7
@@
extern gss_OID GSS_EAP_CRED_SET_RADIUS_CONFIG_FILE;
extern gss_OID GSS_EAP_CRED_SET_RADIUS_CONFIG_STANZA;
/* flags in NBO followed by an optional boolean octet that
- * specifies
that
the specified flags should be cleared */
+ * specifies
if
the specified flags should be cleared */
extern gss_OID GSS_EAP_CRED_SET_CRED_FLAG;
#define GSS_EAP_DISABLE_LOCAL_ATTRS_FLAG 0x00000001