diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/libcli/auth/schannel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/libcli/auth/schannel.c b/source4/libcli/auth/schannel.c index 95e881d32a..8a261a506c 100644 --- a/source4/libcli/auth/schannel.c +++ b/source4/libcli/auth/schannel.c @@ -210,7 +210,7 @@ NTSTATUS schannel_seal_packet(struct schannel_state *state, netsec_deal_with_seq_num(state, digest_final, seq_num); if (!state->signature.data) { - state->signature = data_blob_talloc(mem_ctx, NULL, 32); + state->signature = data_blob_talloc(state->mem_ctx, NULL, 32); if (!state->signature.data) { return NT_STATUS_NO_MEMORY; } @@ -253,7 +253,7 @@ NTSTATUS schannel_sign_packet(struct schannel_state *state, netsec_deal_with_seq_num(state, digest_final, seq_num); if (!state->signature.data) { - state->signature = data_blob_talloc(mem_ctx, NULL, 32); + state->signature = data_blob_talloc(state->mem_ctx, NULL, 32); if (!state->signature.data) { return NT_STATUS_NO_MEMORY; } |