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 ab02d87 commit 4bdec0dCopy full SHA for 4bdec0d
fs/smb/client/smb2pdu.c
@@ -1231,7 +1231,9 @@ SMB2_negotiate(const unsigned int xid,
1231
* SMB3.0 supports only 1 cipher and doesn't have a encryption neg context
1232
* Set the cipher type manually.
1233
*/
1234
- if (server->dialect == SMB30_PROT_ID && (server->capabilities & SMB2_GLOBAL_CAP_ENCRYPTION))
+ if ((server->dialect == SMB30_PROT_ID ||
1235
+ server->dialect == SMB302_PROT_ID) &&
1236
+ (server->capabilities & SMB2_GLOBAL_CAP_ENCRYPTION))
1237
server->cipher_type = SMB2_ENCRYPTION_AES128_CCM;
1238
1239
security_blob = smb2_get_data_area_len(&blob_offset, &blob_length,
0 commit comments