diff options
author | Simo Sorce <simo@redhat.com> | 2013-07-21 12:59:44 -0400 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2013-07-28 13:17:51 -0400 |
commit | 976c19ccefe5053baee272de4ae136c0b4731c7c (patch) | |
tree | 60cb34e3b5d8ade3010ea2664f72a6f445917bb2 /src/gss_sec_ctx.c | |
parent | e3ae1ee773a1cb33cd0ca06eeef0296bbf4a9b7b (diff) | |
download | gss-ntlmssp-976c19ccefe5053baee272de4ae136c0b4731c7c.tar.gz gss-ntlmssp-976c19ccefe5053baee272de4ae136c0b4731c7c.tar.xz gss-ntlmssp-976c19ccefe5053baee272de4ae136c0b4731c7c.zip |
Fix message type check
Diffstat (limited to 'src/gss_sec_ctx.c')
-rw-r--r-- | src/gss_sec_ctx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gss_sec_ctx.c b/src/gss_sec_ctx.c index fe60ea6..948c58d 100644 --- a/src/gss_sec_ctx.c +++ b/src/gss_sec_ctx.c @@ -224,7 +224,7 @@ uint32_t gssntlm_init_sec_context(uint32_t *minor_status, goto done; } - if (msg_type != NTLMSSP_STAGE_CHALLENGE || + if (msg_type != CHALLENGE_MESSAGE || ctx->stage != NTLMSSP_STAGE_NEGOTIATE) { retmaj = GSS_S_NO_CONTEXT; goto done; |