summaryrefslogtreecommitdiff
path: root/source3/libsmb
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
commit71247a2f0507d13fa37d5b3c7136e299995af877 (patch)
treeeaac7d78257cb27580ad58cd35487b5b38bf961c /source3/libsmb
parentd3196b85c9d1286b89005ed52dc5b955ee83b8b0 (diff)
downloadsamba-71247a2f0507d13fa37d5b3c7136e299995af877.tar.gz
samba-71247a2f0507d13fa37d5b3c7136e299995af877.tar.bz2
samba-71247a2f0507d13fa37d5b3c7136e299995af877.zip
r13477: Fix code before declaration
(This used to be commit c15f1d553f03ad1ed4e1d52b8e46c52202bc3a83)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/ntlmssp_sign.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/libsmb/ntlmssp_sign.c b/source3/libsmb/ntlmssp_sign.c
index 1cdb2d1e00..68d4b7aec7 100644
--- a/source3/libsmb/ntlmssp_sign.c
+++ b/source3/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;
}