1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

libcli/smb: pass 'uint16_t cipher_id' to smb2_signing_[de|en]crypt_pdu()

enum protocol_types protocol was unused before
and cipher_id is unused as well for now.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Stefan Metzmacher 2014-10-07 09:51:58 +02:00 committed by Jeremy Allison
parent 1ab23ac1e7
commit ed38abb0a9
2 changed files with 4 additions and 4 deletions

View File

@ -209,7 +209,7 @@ void smb2_key_derivation(const uint8_t *KI, size_t KI_len,
}
NTSTATUS smb2_signing_encrypt_pdu(DATA_BLOB encryption_key,
enum protocol_types protocol,
uint16_t cipher_id,
struct iovec *vector,
int count)
{
@ -272,7 +272,7 @@ NTSTATUS smb2_signing_encrypt_pdu(DATA_BLOB encryption_key,
}
NTSTATUS smb2_signing_decrypt_pdu(DATA_BLOB decryption_key,
enum protocol_types protocol,
uint16_t cipher_id,
struct iovec *vector,
int count)
{

View File

@ -39,11 +39,11 @@ void smb2_key_derivation(const uint8_t *KI, size_t KI_len,
uint8_t KO[16]);
NTSTATUS smb2_signing_encrypt_pdu(DATA_BLOB encryption_key,
enum protocol_types protocol,
uint16_t cipher_id,
struct iovec *vector,
int count);
NTSTATUS smb2_signing_decrypt_pdu(DATA_BLOB decryption_key,
enum protocol_types protocol,
uint16_t cipher_id,
struct iovec *vector,
int count);