From 4828c5923ad0faafd0445ab4ec66f1b324f1ae90 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Mon, 18 Sep 2017 20:52:38 +0200 Subject: [PATCH] ~ 80 columns please --- .../xchacha20poly1305/secretstream_xchacha20poly1305.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libsodium/crypto_secretstream/xchacha20poly1305/secretstream_xchacha20poly1305.c b/src/libsodium/crypto_secretstream/xchacha20poly1305/secretstream_xchacha20poly1305.c index 089de9ca..2d0c9ff9 100644 --- a/src/libsodium/crypto_secretstream/xchacha20poly1305/secretstream_xchacha20poly1305.c +++ b/src/libsodium/crypto_secretstream/xchacha20poly1305/secretstream_xchacha20poly1305.c @@ -92,7 +92,8 @@ crypto_secretstream_xchacha20poly1305_rekey state->k[i] = new_key_and_inonce[i]; } for (i = 0U; i < crypto_secretstream_xchacha20poly1305_INONCEBYTES; i++) { - STATE_INONCE(state)[i] = new_key_and_inonce[crypto_stream_chacha20_ietf_KEYBYTES + i]; + STATE_INONCE(state)[i] = + new_key_and_inonce[crypto_stream_chacha20_ietf_KEYBYTES + i]; } memset(STATE_COUNTER(state), 0, crypto_secretstream_xchacha20poly1305_COUNTERBYTES);