summaryrefslogtreecommitdiff
path: root/source4/include/cli_context.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-08-11 19:29:22 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:57:51 -0500
commitca72bdfecbea2e332821bc292b4bb34f6c96ac2e (patch)
tree683b0039a8756c1ec70f4309858406c8b56c7d16 /source4/include/cli_context.h
parent1c9216f36cc451156d6c65f0e971ce48f05da3e5 (diff)
downloadsamba-ca72bdfecbea2e332821bc292b4bb34f6c96ac2e.tar.gz
samba-ca72bdfecbea2e332821bc292b4bb34f6c96ac2e.tar.bz2
samba-ca72bdfecbea2e332821bc292b4bb34f6c96ac2e.zip
r1735: Clean up SMB signing - we don't have more than one 'real' way to sign
a packet, so don't pretend we do... Andrew Bartlett (This used to be commit 68a6d5aeb35e8972182fffbb6cc506f89584b2d5)
Diffstat (limited to 'source4/include/cli_context.h')
-rw-r--r--source4/include/cli_context.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/source4/include/cli_context.h b/source4/include/cli_context.h
index d3ac878b13..436393b425 100644
--- a/source4/include/cli_context.h
+++ b/source4/include/cli_context.h
@@ -29,17 +29,12 @@ 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;
-};
-
struct smb_signing_context {
void (*sign_outgoing_message)(struct smbcli_request *req);
BOOL (*check_incoming_message)(struct smbcli_request *req);
void (*free_signing_context)(struct smb_signing_context *sign_info);
- struct smb_basic_signing_context *signing_context;
- BOOL negotiated_smb_signing;
+ DATA_BLOB mac_key;
+ uint32_t next_seq_num;
BOOL allow_smb_signing;
BOOL doing_signing;
BOOL mandatory_signing;