mirror of
https://github.com/oxen-io/session-android.git
synced 2025-01-12 23:13:39 +00:00
parent
b7badec752
commit
0b62cf372b
@ -100,7 +100,7 @@ public class DecryptingPartInputStream extends FileInputStream {
|
|||||||
private int readFinal(byte[] buffer, int offset, int length) throws IOException {
|
private int readFinal(byte[] buffer, int offset, int length) throws IOException {
|
||||||
try {
|
try {
|
||||||
int flourish = cipher.doFinal(buffer, offset);
|
int flourish = cipher.doFinal(buffer, offset);
|
||||||
// mac.update(buffer, offset, flourish);
|
//mac.update(buffer, offset, flourish);
|
||||||
|
|
||||||
byte[] ourMac = mac.doFinal();
|
byte[] ourMac = mac.doFinal();
|
||||||
byte[] theirMac = new byte[mac.getMacLength()];
|
byte[] theirMac = new byte[mac.getMacLength()];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user