projects
/
mech_eap.orig
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
comment out dumping code
[mech_eap.orig]
/
export_sec_context.c
diff --git
a/export_sec_context.c
b/export_sec_context.c
index
e7080a0
..
2ea2c5c
100644
(file)
--- a/
export_sec_context.c
+++ b/
export_sec_context.c
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (c) 201
0
, JANET(UK)
+ * Copyright (c) 201
1
, JANET(UK)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@
-48,8
+48,8
@@
gssEapExportPartialContext(OM_uint32 *minor,
char serverBuf[MAXHOSTNAMELEN];
if (ctx->acceptorCtx.radConn != NULL) {
char serverBuf[MAXHOSTNAMELEN];
if (ctx->acceptorCtx.radConn != NULL) {
- if (rs_conn_get_current_
serv
er(ctx->acceptorCtx.radConn,
-
serverBuf, sizeof(serverBuf)) != 0) {
+ if (rs_conn_get_current_
pe
er(ctx->acceptorCtx.radConn,
+ serverBuf, sizeof(serverBuf)) != 0) {
return gssEapRadiusMapError(minor,
rs_err_conn_pop(ctx->acceptorCtx.radConn));
}
return gssEapRadiusMapError(minor,
rs_err_conn_pop(ctx->acceptorCtx.radConn));
}
@@
-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]);