From 5822eb780865052af4537b3995964cd641f3ecee Mon Sep 17 00:00:00 2001 From: akwizgran <akwizgran@users.sourceforge.net> Date: Mon, 17 Jul 2017 10:16:50 +0100 Subject: [PATCH] Remove 'this'. --- .../org/briarproject/bramble/crypto/StreamEncrypterImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bramble-core/src/main/java/org/briarproject/bramble/crypto/StreamEncrypterImpl.java b/bramble-core/src/main/java/org/briarproject/bramble/crypto/StreamEncrypterImpl.java index d64cc4aae8..2a060b03fa 100644 --- a/bramble-core/src/main/java/org/briarproject/bramble/crypto/StreamEncrypterImpl.java +++ b/bramble-core/src/main/java/org/briarproject/bramble/crypto/StreamEncrypterImpl.java @@ -124,7 +124,7 @@ class StreamEncrypterImpl implements StreamEncrypter { System.arraycopy(frameKey.getBytes(), 0, streamHeaderPlaintext, INT_16_BYTES + INT_64_BYTES, SecretKey.LENGTH); byte[] streamHeaderCiphertext = new byte[STREAM_HEADER_LENGTH]; - System.arraycopy(this.streamHeaderNonce, 0, streamHeaderCiphertext, 0, + System.arraycopy(streamHeaderNonce, 0, streamHeaderCiphertext, 0, STREAM_HEADER_NONCE_LENGTH); // Encrypt and authenticate the stream header key try { -- GitLab