]> git.codecow.com Git - Monocypher.git/commitdiff
Cosmetic: put else and braces in the same line
authorLoup Vaillant <loup@loup-vaillant.fr>
Sat, 24 Feb 2018 14:42:25 +0000 (15:42 +0100)
committerLoup Vaillant <loup@loup-vaillant.fr>
Sat, 24 Feb 2018 14:43:08 +0000 (15:43 +0100)
src/monocypher.c

index 711dd5de5b350d1967529293a9f133235f953a8e..5fee4dee6117bd8ea098531ecba90c610495a20f 100644 (file)
@@ -239,8 +239,7 @@ void crypto_chacha20_encrypt(crypto_chacha_ctx *ctx,
                 store32_le(cipher_text + j * 4, ctx->pool[j] ^ plain);
                 plain_text += 4;
             }
-        }
-        else {
+        } else {
             FOR (j, 0, 16) {
                 store32_le(cipher_text + j * 4, ctx->pool[j]);
             }