From f7c43cb383bdd1cc303880050b583592ea18c4c3 Mon Sep 17 00:00:00 2001 From: tb Date: Tue, 26 Jul 2022 07:09:24 +0000 Subject: [PATCH] minor tweaks: unwrap a line, tweak a comment and zap an empty line --- regress/lib/libcrypto/bn/general/bn_isqrt.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/regress/lib/libcrypto/bn/general/bn_isqrt.c b/regress/lib/libcrypto/bn/general/bn_isqrt.c index 24e15a8aee8..bf3947186af 100644 --- a/regress/lib/libcrypto/bn/general/bn_isqrt.c +++ b/regress/lib/libcrypto/bn/general/bn_isqrt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bn_isqrt.c,v 1.1 2022/07/25 20:48:57 tb Exp $ */ +/* $OpenBSD: bn_isqrt.c,v 1.2 2022/07/26 07:09:24 tb Exp $ */ /* * Copyright (c) 2022 Theo Buehler * @@ -98,8 +98,7 @@ check_tables(int print) if (!print) continue; - printf("const uint8_t is_square_mod_%d[] = {\n\t", - fill[i]); + printf("const uint8_t is_square_mod_%d[] = {\n\t", fill[i]); for (j = 0; j < fill[i]; j++) { const char *end = " "; @@ -225,7 +224,7 @@ isqrt_test(void) } /* - * Finally check that isqrt(n^2 - 1) + 1 = n. + * Finally check that isqrt(n^2 - 1) + 1 == n. */ if (!BN_sub(testcase, n_sqr, BN_value_one())) @@ -245,7 +244,6 @@ isqrt_test(void) failed = 1; } - BN_CTX_end(ctx); BN_CTX_free(ctx); -- 2.20.1