diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-08-07 14:24:28 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-08-07 20:29:30 +0200 |
commit | c3016915a1ea381976b747c4e185d4046e7995ca (patch) | |
tree | f193b31644b7e5d74e77a0793076e7f2d05807cd /source3/smbd/globals.h | |
parent | 40f771e0105a0d13d83d66d99d9412acf6b73978 (diff) | |
download | samba-c3016915a1ea381976b747c4e185d4046e7995ca.tar.gz samba-c3016915a1ea381976b747c4e185d4046e7995ca.tar.bz2 samba-c3016915a1ea381976b747c4e185d4046e7995ca.zip |
s3:smb2_server: fix SMB2 signing of compound responses
We need to defer the signing until we know the response
doesn't change anymore before it goes over the wire.
metze
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Tue Aug 7 20:29:30 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/smbd/globals.h')
-rw-r--r-- | source3/smbd/globals.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h index f9810eb998..7b2d31d6aa 100644 --- a/source3/smbd/globals.h +++ b/source3/smbd/globals.h @@ -460,6 +460,12 @@ struct smbd_smb2_request { bool cancelled; bool compound_related; + /* + * the signing/encryption key for the last + * request/response of a compound chain + */ + DATA_BLOB last_key; + struct timeval request_time; /* fake smb1 request. */ |