diff options
author | Simo Sorce <simo@redhat.com> | 2013-07-21 02:01:59 -0400 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2013-07-28 13:17:51 -0400 |
commit | 34822448c673e483e1ec43331e13beaf75320f86 (patch) | |
tree | fbc2abe520557728216273365a01d8c55867f4d7 /src/gss_sec_ctx.c | |
parent | bb3affefc2b8f4c9613a43f7a497ca2d2af34462 (diff) | |
download | gss-ntlmssp-34822448c673e483e1ec43331e13beaf75320f86.tar.gz gss-ntlmssp-34822448c673e483e1ec43331e13beaf75320f86.tar.xz gss-ntlmssp-34822448c673e483e1ec43331e13beaf75320f86.zip |
Helper function to check security context validity
Diffstat (limited to 'src/gss_sec_ctx.c')
-rw-r--r-- | src/gss_sec_ctx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gss_sec_ctx.c b/src/gss_sec_ctx.c index 01e28a1..e62e997 100644 --- a/src/gss_sec_ctx.c +++ b/src/gss_sec_ctx.c @@ -520,6 +520,7 @@ uint32_t gssntlm_init_sec_context(uint32_t *minor_status, /* For now use the same as the challenge/response lifetime (36h) */ ctx->expiration_time = time(NULL) + MAX_CHALRESP_LIFETIME; + ctx->established = true; retmaj = GSS_S_COMPLETE; } |