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:
3e2e6ed
)
NFSv4 patch from Daniel Kouril
author
Luke Howard
<lukeh@padl.com>
Thu, 17 Nov 2011 11:15:47 +0000
(22:15 +1100)
committer
Luke Howard
<lukeh@padl.com>
Thu, 17 Nov 2011 11:15:47 +0000
(22:15 +1100)
mech_eap/util_lucid.c
patch
|
blob
|
history
diff --git
a/mech_eap/util_lucid.c
b/mech_eap/util_lucid.c
index
359058c
..
f9e9941
100644
(file)
--- a/
mech_eap/util_lucid.c
+++ b/
mech_eap/util_lucid.c
@@
-136,7
+136,10
@@
cleanup:
lctx->version = 1;
lctx->initiate = CTX_IS_INITIATOR(ctx);
lctx->version = 1;
lctx->initiate = CTX_IS_INITIATOR(ctx);
- lctx->endtime = ctx->expiryTime;
+ if (ctx->expiryTime == 0)
+ lctx->endtime = KRB_TIME_FOREVER;
+ else
+ lctx->endtime = ctx->expiryTime;
lctx->send_seq = ctx->sendSeq;
lctx->recv_seq = ctx->recvSeq;
lctx->protocol = 1;
lctx->send_seq = ctx->sendSeq;
lctx->recv_seq = ctx->recvSeq;
lctx->protocol = 1;
@@
-144,8
+147,8
@@
cleanup:
lctx->cfx_kd.have_acceptor_subkey = haveAcceptorSubkey;
lkey = haveAcceptorSubkey
lctx->cfx_kd.have_acceptor_subkey = haveAcceptorSubkey;
lkey = haveAcceptorSubkey
- ? &lctx->cfx_kd.
ctx_
key
- : &lctx->cfx_kd.
acceptor_sub
key;
+ ? &lctx->cfx_kd.
acceptor_sub
key
+ : &lctx->cfx_kd.
ctx_
key;
lkey->type = KRB_KEY_TYPE(&ctx->rfc3961Key);
lkey->data = GSSEAP_MALLOC(KRB_KEY_LENGTH(&ctx->rfc3961Key));
lkey->type = KRB_KEY_TYPE(&ctx->rfc3961Key);
lkey->data = GSSEAP_MALLOC(KRB_KEY_LENGTH(&ctx->rfc3961Key));