From 4f12cf06edb0bffb90a56d6a067fab971096e598 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Wed, 17 Oct 2018 20:46:57 +0200 Subject: [PATCH] =?UTF-8?q?revert=20back=20to=2016=20byte=20IVs=20for=20om?= =?UTF-8?q?emo=20since=20ChatSecure=20doesn=E2=80=99t=20support=2012=20byt?= =?UTF-8?q?e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/eu/siacs/conversations/http/HttpUploadConnection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/siacs/conversations/http/HttpUploadConnection.java b/src/main/java/eu/siacs/conversations/http/HttpUploadConnection.java index 0dfd2fc0b..b2a7c7a1b 100644 --- a/src/main/java/eu/siacs/conversations/http/HttpUploadConnection.java +++ b/src/main/java/eu/siacs/conversations/http/HttpUploadConnection.java @@ -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); }