diff options
author | Ralph Boehme <slow@samba.org> | 2018-11-09 15:26:44 +0100 |
---|---|---|
committer | Ralph Boehme <slow@samba.org> | 2018-11-13 11:13:03 +0100 |
commit | 67cfb01611869b7590ccd836dd13a80e53545714 (patch) | |
tree | ff69be9e2c7352e953514f63055e9df6e131876d /libcli/smb/smbXcli_base.c | |
parent | d407201d9bd4ee5ae5609dd107e3ab9ee7afbeb0 (diff) | |
download | samba-67cfb01611869b7590ccd836dd13a80e53545714.tar.gz |
libcli/smb: maintain require_signed_response in smbXcli_req_state
Not used for now, that comes next.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13661
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'libcli/smb/smbXcli_base.c')
-rw-r--r-- | libcli/smb/smbXcli_base.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libcli/smb/smbXcli_base.c b/libcli/smb/smbXcli_base.c index 5a473dd91aa..a93f07c8ee6 100644 --- a/libcli/smb/smbXcli_base.c +++ b/libcli/smb/smbXcli_base.c @@ -290,6 +290,7 @@ struct smbXcli_req_state { uint64_t encryption_session_id; bool signing_skipped; + bool require_signed_response; bool notify_async; bool got_async; uint16_t cancel_flags; @@ -2963,6 +2964,8 @@ struct tevent_req *smb2cli_req_create(TALLOC_CTX *mem_ctx, state->smb2.should_sign = session->smb2->should_sign; state->smb2.should_encrypt = session->smb2->should_encrypt; + state->smb2.require_signed_response = + session->smb2->require_signed_response; if (cmd == SMB2_OP_SESSSETUP && session->smb2_channel.signing_key.length == 0 && |