From: tb Date: Sun, 21 Aug 2022 10:47:09 +0000 (+0000) Subject: fix indent and zap trailing whitespace X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=87758528bd9bbe90247a6a52770b369db5242058;p=openbsd fix indent and zap trailing whitespace --- 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;