summaryrefslogtreecommitdiff
path: root/source4/include/cli_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'source4/include/cli_context.h')
-rw-r--r--source4/include/cli_context.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/source4/include/cli_context.h b/source4/include/cli_context.h
index 1f179ff452..2e1bc11d8c 100644
--- a/source4/include/cli_context.h
+++ b/source4/include/cli_context.h
@@ -29,6 +29,11 @@ struct smbcli_request; /* forward declare */
struct smbcli_session; /* forward declare */
struct smbcli_transport; /* forward declare */
+struct smb_basic_signing_context {
+ DATA_BLOB mac_key;
+ uint32_t next_seq_num;
+};
+
/* context that will be and has been negotiated between the client and server */
struct smbcli_negotiate {
/*
@@ -52,7 +57,7 @@ struct smbcli_negotiate {
void (*sign_outgoing_message)(struct smbcli_request *req);
BOOL (*check_incoming_message)(struct smbcli_request *req);
void (*free_signing_context)(struct smbcli_transport *transport);
- void *signing_context;
+ struct smb_basic_signing_context *signing_context;
BOOL negotiated_smb_signing;
BOOL allow_smb_signing;
BOOL doing_signing;