summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-11-20 20:10:43 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:53:24 -0500
commit9604545ed841bd59b4844d9e96094b4193fd1cd5 (patch)
tree0cef55043bb96d9af9f45df640a1b5377167a6fb /source3/libsmb
parent5a83636948cd82c2bf3c5399eed6a9205b6adfac (diff)
downloadsamba-9604545ed841bd59b4844d9e96094b4193fd1cd5.tar.gz
samba-9604545ed841bd59b4844d9e96094b4193fd1cd5.tar.bz2
samba-9604545ed841bd59b4844d9e96094b4193fd1cd5.zip
r3892: Fix "might be used uninitialized" error.
Jeremy. (This used to be commit eead77919b05e0a2bed32a4a192dd0d9e6a86008)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/ntlmssp_sign.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/libsmb/ntlmssp_sign.c b/source3/libsmb/ntlmssp_sign.c
index 2347619e57..ee0f9df024 100644
--- a/source3/libsmb/ntlmssp_sign.c
+++ b/source3/libsmb/ntlmssp_sign.c
@@ -344,6 +344,12 @@ NTSTATUS ntlmssp_sign_init(NTLMSSP_STATE *ntlmssp_state)
recv_sign_const = CLI_SIGN;
recv_seal_const = CLI_SEAL;
break;
+ default:
+ send_sign_const = "unknown role";
+ send_seal_const = "unknown role";
+ recv_sign_const = "unknown role";
+ recv_seal_const = "unknown role";
+ break;
}
calc_ntlmv2_hash(ntlmssp_state->send_sign_hash,