We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4982cc8 commit 44c4958Copy full SHA for 44c4958
fs/smb/client/smb2pdu.c
@@ -1070,7 +1070,9 @@ SMB2_negotiate(const unsigned int xid,
1070
* SMB3.0 supports only 1 cipher and doesn't have a encryption neg context
1071
* Set the cipher type manually.
1072
*/
1073
- if (server->dialect == SMB30_PROT_ID && (server->capabilities & SMB2_GLOBAL_CAP_ENCRYPTION))
+ if ((server->dialect == SMB30_PROT_ID ||
1074
+ server->dialect == SMB302_PROT_ID) &&
1075
+ (server->capabilities & SMB2_GLOBAL_CAP_ENCRYPTION))
1076
server->cipher_type = SMB2_ENCRYPTION_AES128_CCM;
1077
1078
security_blob = smb2_get_data_area_len(&blob_offset, &blob_length,
0 commit comments