From 71247a2f0507d13fa37d5b3c7136e299995af877 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 12 Feb 2006 17:49:04 +0000 Subject: r13477: Fix code before declaration (This used to be commit c15f1d553f03ad1ed4e1d52b8e46c52202bc3a83) --- source3/libsmb/ntlmssp_sign.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3') 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; } -- cgit