Skip to content

Commit edad734

Browse files
committed
smb3: use SMB2_SIGNATURE_SIZE define
It clarifies the code slightly to use SMB2_SIGNATURE_SIZE define rather than 16. Suggested-by: Henning Schild <[email protected]> Signed-off-by: Steve French <[email protected]>
1 parent 97adda8 commit edad734

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/cifs/smb2transport.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ int
602602
smb2_verify_signature(struct smb_rqst *rqst, struct TCP_Server_Info *server)
603603
{
604604
unsigned int rc;
605-
char server_response_sig[16];
605+
char server_response_sig[SMB2_SIGNATURE_SIZE];
606606
struct smb2_sync_hdr *shdr =
607607
(struct smb2_sync_hdr *)rqst->rq_iov[0].iov_base;
608608

0 commit comments

Comments
 (0)