From 2e0b26a5ab2c50b8bcc947b4c47e03c394047446 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Wed, 21 Nov 2018 16:44:24 +0100 Subject: [PATCH] revert 12 byte ivs that got commited by accident --- .../siacs/conversations/crypto/axolotl/XmppAxolotlMessage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/siacs/conversations/crypto/axolotl/XmppAxolotlMessage.java b/src/main/java/eu/siacs/conversations/crypto/axolotl/XmppAxolotlMessage.java index f4cfa6b3f..2c5da6414 100644 --- a/src/main/java/eu/siacs/conversations/crypto/axolotl/XmppAxolotlMessage.java +++ b/src/main/java/eu/siacs/conversations/crypto/axolotl/XmppAxolotlMessage.java @@ -165,7 +165,7 @@ public class XmppAxolotlMessage { private static byte[] generateIv() { SecureRandom random = new SecureRandom(); - byte[] iv = new byte[12]; + byte[] iv = new byte[16]; random.nextBytes(iv); return iv; }