summaryrefslogtreecommitdiff
path: root/libcli/auth
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-08-12 16:28:10 +0200
committerGünther Deschner <gd@samba.org>2010-08-12 16:28:10 +0200
commitfeb432292ee7c8a158524b8c5abbe41ca7882d4b (patch)
tree7030a1adc88a7b2445d2e532e9b545f35a6aeefd /libcli/auth
parent5130e664b91636a9ca31a52897ba1d121d0252a2 (diff)
downloadsamba-feb432292ee7c8a158524b8c5abbe41ca7882d4b.tar.gz
samba-feb432292ee7c8a158524b8c5abbe41ca7882d4b.tar.bz2
samba-feb432292ee7c8a158524b8c5abbe41ca7882d4b.zip
ntlmssp: fix unitialized variable in ntlmssp_server_postauth().
Guenther
Diffstat (limited to 'libcli/auth')
-rw-r--r--libcli/auth/ntlmssp_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcli/auth/ntlmssp_server.c b/libcli/auth/ntlmssp_server.c
index 9c177eece0..3627c4d7ae 100644
--- a/libcli/auth/ntlmssp_server.c
+++ b/libcli/auth/ntlmssp_server.c
@@ -393,7 +393,7 @@ static NTSTATUS ntlmssp_server_postauth(struct ntlmssp_state *ntlmssp_state,
{
DATA_BLOB user_session_key = state->user_session_key;
DATA_BLOB lm_session_key = state->lm_session_key;
- NTSTATUS nt_status;
+ NTSTATUS nt_status = NT_STATUS_OK;
DATA_BLOB session_key = data_blob(NULL, 0);
dump_data_pw("NT session key:\n", user_session_key.data, user_session_key.length);