kopia lustrzana https://github.com/ryukoposting/Signal-Android
rodzic
90006e81db
commit
73233c01ba
|
@ -265,8 +265,11 @@ public class FullBackupExporter extends FullBackupBase {
|
||||||
|
|
||||||
while ((read = in.read(buffer)) != -1) {
|
while ((read = in.read(buffer)) != -1) {
|
||||||
byte[] ciphertext = cipher.update(buffer, 0, read);
|
byte[] ciphertext = cipher.update(buffer, 0, read);
|
||||||
outputStream.write(ciphertext);
|
|
||||||
mac.update(ciphertext);
|
if (ciphertext != null) {
|
||||||
|
outputStream.write(ciphertext);
|
||||||
|
mac.update(ciphertext);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
byte[] remainder = cipher.doFinal();
|
byte[] remainder = cipher.doFinal();
|
||||||
|
|
Ładowanie…
Reference in New Issue