Match on 0x12 inside de.rs too
This commit is contained in:
1 file changed
+3
-1
@@ -159,7 +159,9 @@ fn bc_modern_msg<'a>(
|
||||
msg_id: 1,
|
||||
response_code,
|
||||
..
|
||||
} if (response_code & 0xff) == 0x02 => EncryptionProtocol::BCEncrypt, // This is AES but the first packet with the NONCE is BCEcrypt, since the NONCE in this packet is required to build the AES key
|
||||
} if (response_code & 0xff) == 0x02 || (response_code & 0xff) == 0x12 => {
|
||||
EncryptionProtocol::BCEncrypt
|
||||
} // This is AES but the first packet with the NONCE is BCEcrypt, since the NONCE in this packet is required to build the AES key
|
||||
BcHeader { msg_id: 1, .. }
|
||||
if matches!(context.get_encrypted(), EncryptionProtocol::Aes(_)) =>
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user