summaryrefslogtreecommitdiff
path: root/source3/libsmb/ntlmssp_sign.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libsmb/ntlmssp_sign.c')
-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;
}