projects
/
moonshot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use macros for state accessors
[moonshot.git]
/
mech_eap
/
export_sec_context.c
diff --git
a/mech_eap/export_sec_context.c
b/mech_eap/export_sec_context.c
index
e50b6e5
..
2ea2c5c
100644
(file)
--- a/
mech_eap/export_sec_context.c
+++ b/
mech_eap/export_sec_context.c
@@
-165,7
+165,7
@@
gssEapExportSecContext(OM_uint32 *minor,
p = (unsigned char *)token->value;
store_uint32_be(EAP_EXPORT_CONTEXT_V1, &p[0]); /* version */
p = (unsigned char *)token->value;
store_uint32_be(EAP_EXPORT_CONTEXT_V1, &p[0]); /* version */
- store_uint32_be(
ctx->state,
&p[4]);
+ store_uint32_be(
GSSEAP_SM_STATE(ctx),
&p[4]);
store_uint32_be(ctx->flags, &p[8]);
store_uint32_be(ctx->gssFlags, &p[12]);
p = store_oid(ctx->mechanismUsed, &p[16]);
store_uint32_be(ctx->flags, &p[8]);
store_uint32_be(ctx->gssFlags, &p[12]);
p = store_oid(ctx->mechanismUsed, &p[16]);