diff options
-rw-r--r-- | source3/libsmb/smb2cli_base.c | 6 | ||||
-rw-r--r-- | source3/libsmb/smb2cli_base.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/source3/libsmb/smb2cli_base.c b/source3/libsmb/smb2cli_base.c index e7ba5175a3..dd212730bc 100644 --- a/source3/libsmb/smb2cli_base.c +++ b/source3/libsmb/smb2cli_base.c @@ -32,7 +32,7 @@ struct smb2cli_req_state { const uint8_t *fixed; uint16_t fixed_len; const uint8_t *dyn; - uint16_t dyn_len; + uint32_t dyn_len; uint8_t nbt[4]; uint8_t hdr[64]; @@ -179,7 +179,7 @@ struct tevent_req *smb2cli_req_create(TALLOC_CTX *mem_ctx, const uint8_t *fixed, uint16_t fixed_len, const uint8_t *dyn, - uint16_t dyn_len) + uint32_t dyn_len) { struct tevent_req *req; struct smb2cli_req_state *state; @@ -310,7 +310,7 @@ struct tevent_req *smb2cli_req_send(TALLOC_CTX *mem_ctx, const uint8_t *fixed, uint16_t fixed_len, const uint8_t *dyn, - uint16_t dyn_len) + uint32_t dyn_len) { struct tevent_req *req; NTSTATUS status; diff --git a/source3/libsmb/smb2cli_base.h b/source3/libsmb/smb2cli_base.h index 9c49a8c8d3..85cf347156 100644 --- a/source3/libsmb/smb2cli_base.h +++ b/source3/libsmb/smb2cli_base.h @@ -28,7 +28,7 @@ struct tevent_req *smb2cli_req_create(TALLOC_CTX *mem_ctx, const uint8_t *fixed, uint16_t fixed_len, const uint8_t *dyn, - uint16_t dyn_len); + uint32_t dyn_len); NTSTATUS smb2cli_req_compound_submit(struct tevent_req **reqs, int num_reqs); struct tevent_req *smb2cli_req_send(TALLOC_CTX *mem_ctx, @@ -39,7 +39,7 @@ struct tevent_req *smb2cli_req_send(TALLOC_CTX *mem_ctx, const uint8_t *fixed, uint16_t fixed_len, const uint8_t *dyn, - uint16_t dyn_len); + uint32_t dyn_len); NTSTATUS smb2cli_req_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, struct iovec **piov, int body_size); |