diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-02-12 17:49:04 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:10:05 -0500 |
commit | 71247a2f0507d13fa37d5b3c7136e299995af877 (patch) | |
tree | eaac7d78257cb27580ad58cd35487b5b38bf961c /source3/libsmb/ntlmssp_sign.c | |
parent | d3196b85c9d1286b89005ed52dc5b955ee83b8b0 (diff) | |
download | samba-71247a2f0507d13fa37d5b3c7136e299995af877.tar.gz samba-71247a2f0507d13fa37d5b3c7136e299995af877.tar.xz samba-71247a2f0507d13fa37d5b3c7136e299995af877.zip |
r13477: Fix code before declaration
(This used to be commit c15f1d553f03ad1ed4e1d52b8e46c52202bc3a83)
Diffstat (limited to 'source3/libsmb/ntlmssp_sign.c')
-rw-r--r-- | source3/libsmb/ntlmssp_sign.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/libsmb/ntlmssp_sign.c b/source3/libsmb/ntlmssp_sign.c index 1cdb2d1e00d..68d4b7aec70 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; } |