diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2016-05-05 20:23:03 +0200 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2016-05-05 20:23:03 +0200 |
commit | e2d3bef7397984b1b717ec4a5bf60f572da73779 (patch) | |
tree | 40200d939d8b79e7720211ffab359f0d1bc7a196 /src/main | |
parent | a7cd05bd4e5e350a91361da18f5437ca7f64e1bd (diff) | |
parent | 544e1dee656eb547d5b3a16f4929ed301ff6c540 (diff) |
Merge pull request #1829 from sebastianv89/patch-1
Remove copy of innerkey
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/eu/siacs/conversations/crypto/axolotl/XmppAxolotlMessage.java | 1 |
1 files changed, 0 insertions, 1 deletions
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 cf950d6d..93a73677 100644 --- a/src/main/java/eu/siacs/conversations/crypto/axolotl/XmppAxolotlMessage.java +++ b/src/main/java/eu/siacs/conversations/crypto/axolotl/XmppAxolotlMessage.java @@ -158,7 +158,6 @@ public class XmppAxolotlMessage { IvParameterSpec ivSpec = new IvParameterSpec(iv); Cipher cipher = Cipher.getInstance(CIPHERMODE, PROVIDER); cipher.init(Cipher.ENCRYPT_MODE, secretKey, ivSpec); - this.innerKey = secretKey.getEncoded(); this.ciphertext = cipher.doFinal(plaintext.getBytes()); } catch (NoSuchAlgorithmException | NoSuchPaddingException | InvalidKeyException | IllegalBlockSizeException | BadPaddingException | NoSuchProviderException |