revert back to 16 byte IVs for omemo since ChatSecure doesn’t support 12 byte

This commit is contained in:
Daniel Gultsch 2018-10-17 20:46:57 +02:00
parent 9048075aaa
commit 4f12cf06ed
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ public class HttpUploadConnection implements Transferable {
if (Config.ENCRYPT_ON_HTTP_UPLOADED
|| message.getEncryption() == Message.ENCRYPTION_AXOLOTL
|| message.getEncryption() == Message.ENCRYPTION_OTR) {
this.key = new byte[44];
this.key = new byte[48];
mXmppConnectionService.getRNG().nextBytes(this.key);
this.file.setKeyAndIv(this.key);
}