summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-02-12 17:49:04 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:10:05 -0500
commitc15f1d553f03ad1ed4e1d52b8e46c52202bc3a83 (patch)
tree6d5bc98d20d5ba8880eb4d8f4fd65bce7715d58e
parente8e2fc79b4afd6625e1d50e23b31eb49f67526d9 (diff)
downloadsamba-c15f1d553f03ad1ed4e1d52b8e46c52202bc3a83.tar.gz
samba-c15f1d553f03ad1ed4e1d52b8e46c52202bc3a83.tar.xz
samba-c15f1d553f03ad1ed4e1d52b8e46c52202bc3a83.zip
r13477: Fix code before declaration
-rw-r--r--source/libsmb/ntlmssp_sign.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/libsmb/ntlmssp_sign.c b/source/libsmb/ntlmssp_sign.c
index 1cdb2d1e00d..68d4b7aec70 100644
--- a/source/libsmb/ntlmssp_sign.c
+++ b/source/libsmb/ntlmssp_sign.c
@@ -327,9 +327,10 @@ NTSTATUS ntlmssp_unseal_packet(NTLMSSP_STATE *ntlmssp_state,
NTSTATUS ntlmssp_sign_init(NTLMSSP_STATE *ntlmssp_state)
{
unsigned char p24[24];
+ TALLOC_CTX *mem_ctx;
ZERO_STRUCT(p24);
- TALLOC_CTX *mem_ctx = talloc_init("weak_keys");
+ mem_ctx = talloc_init("weak_keys");
if (!mem_ctx) {
return NT_STATUS_NO_MEMORY;
}