summaryrefslogtreecommitdiff
path: root/source3/libsmb/proto.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-09-12 09:16:27 +0200
committerStefan Metzmacher <metze@samba.org>2011-09-14 08:09:15 +0200
commitc682472fdf28894858d14eb95b13cb4214847ecd (patch)
tree86025b29ff1af59252d264f12f7245a291f62e5d /source3/libsmb/proto.h
parent0a6d0f8edaa198898f50f274275efba8de41d843 (diff)
downloadsamba-c682472fdf28894858d14eb95b13cb4214847ecd.tar.gz
s3:libsmb: make use of new advanded SMB signing
metze
Diffstat (limited to 'source3/libsmb/proto.h')
-rw-r--r--source3/libsmb/proto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/proto.h b/source3/libsmb/proto.h
index fef7ae05028..4992d95c968 100644
--- a/source3/libsmb/proto.h
+++ b/source3/libsmb/proto.h
@@ -865,13 +865,13 @@ void cli_free_enc_buffer(struct cli_state *cli, char *buf);
bool cli_simple_set_signing(struct cli_state *cli,
const DATA_BLOB user_session_key,
const DATA_BLOB response);
-bool cli_temp_set_signing(struct cli_state *cli);
void cli_calculate_sign_mac(struct cli_state *cli, char *buf, uint32_t *seqnum);
bool cli_check_sign_mac(struct cli_state *cli, const char *buf, uint32_t seqnum);
bool client_is_signing_on(struct cli_state *cli);
bool client_is_signing_allowed(struct cli_state *cli);
bool client_is_signing_mandatory(struct cli_state *cli);
-void cli_set_signing_negotiated(struct cli_state *cli);
+bool cli_set_signing_negotiated(struct cli_state *cli,
+ bool allowed, bool mandatory);
/* The following definitions come from libsmb/reparse_symlink.c */