summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/include/cli_context.h7
-rw-r--r--source4/libcli/raw/smb_signing.c5
2 files changed, 6 insertions, 6 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;
diff --git a/source4/libcli/raw/smb_signing.c b/source4/libcli/raw/smb_signing.c
index ddde58fd88..ffbecb85fc 100644
--- a/source4/libcli/raw/smb_signing.c
+++ b/source4/libcli/raw/smb_signing.c
@@ -22,11 +22,6 @@
#include "includes.h"
-struct smb_basic_signing_context {
- DATA_BLOB mac_key;
- uint32_t next_seq_num;
-};
-
/***********************************************************
SMB signing - Common code before we set a new signing implementation
************************************************************/