From 2b54cc578d9daa987da0c7dd62edab11514d005f Mon Sep 17 00:00:00 2001 From: tb Date: Mon, 12 Sep 2022 13:09:01 +0000 Subject: [PATCH] whitespace nits --- regress/lib/libcrypto/rc2/rc2_test.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/regress/lib/libcrypto/rc2/rc2_test.c b/regress/lib/libcrypto/rc2/rc2_test.c index a36dfb646ff..08a7daea46d 100644 --- a/regress/lib/libcrypto/rc2/rc2_test.c +++ b/regress/lib/libcrypto/rc2/rc2_test.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rc2_test.c,v 1.3 2022/09/12 04:12:39 tb Exp $ */ +/* $OpenBSD: rc2_test.c,v 1.4 2022/09/12 13:09:01 tb Exp $ */ /* * Copyright (c) 2022 Joshua Sing * @@ -261,7 +261,8 @@ rc2_ecb_test(size_t test_number, const struct rc2_test *rt) } static int -rc2_evp_test(size_t test_number, const struct rc2_test *rt, const char *label, const EVP_CIPHER *cipher) +rc2_evp_test(size_t test_number, const struct rc2_test *rt, const char *label, + const EVP_CIPHER *cipher) { EVP_CIPHER_CTX *ctx; uint8_t out[512]; @@ -317,7 +318,7 @@ rc2_evp_test(size_t test_number, const struct rc2_test *rt, const char *label, c in_len = rt->len - i; if (!EVP_EncryptUpdate(ctx, out + total_len, &out_len, - rt->in + i, in_len)) { + rt->in + i, in_len)) { fprintf(stderr, "FAIL (%s:%zu): EVP_EncryptUpdate failed\n", label, test_number); @@ -397,7 +398,7 @@ rc2_evp_test(size_t test_number, const struct rc2_test *rt, const char *label, c in_len = rt->len - i; if (!EVP_DecryptUpdate(ctx, out + total_len, &out_len, - rt->out + i, in_len)) { + rt->out + i, in_len)) { fprintf(stderr, "FAIL (%s:%zu): EVP_DecryptUpdate failed\n", label, test_number); -- 2.20.1