From 87758528bd9bbe90247a6a52770b369db5242058 Mon Sep 17 00:00:00 2001 From: tb Date: Sun, 21 Aug 2022 10:47:09 +0000 Subject: [PATCH] fix indent and zap trailing whitespace --- lib/libcrypto/evp/e_chacha20poly1305.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/libcrypto/evp/e_chacha20poly1305.c b/lib/libcrypto/evp/e_chacha20poly1305.c index 129adb9ef9b..422eb23758b 100644 --- a/lib/libcrypto/evp/e_chacha20poly1305.c +++ b/lib/libcrypto/evp/e_chacha20poly1305.c @@ -1,4 +1,4 @@ -/* $OpenBSD: e_chacha20poly1305.c,v 1.23 2022/08/20 19:22:28 jsing Exp $ */ +/* $OpenBSD: e_chacha20poly1305.c,v 1.24 2022/08/21 10:47:09 tb Exp $ */ /* * Copyright (c) 2022 Joel Sing @@ -461,7 +461,7 @@ chacha20_poly1305_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, memset(poly1305_key, 0, sizeof(poly1305_key)); ChaCha(&cpx->chacha, poly1305_key, poly1305_key, - sizeof(poly1305_key)); + sizeof(poly1305_key)); CRYPTO_poly1305_init(&cpx->poly1305, poly1305_key); /* Mark remaining key block as used. */ @@ -499,7 +499,7 @@ chacha20_poly1305_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, } if (ctx->encrypt && out != NULL) CRYPTO_poly1305_update(&cpx->poly1305, out, len); - else + else CRYPTO_poly1305_update(&cpx->poly1305, in, len); return len; -- 2.20.1