summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/regress/lib/libcrypto/bn/general/bn_isqrt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regress/lib/libcrypto/bn/general/bn_isqrt.c b/src/regress/lib/libcrypto/bn/general/bn_isqrt.c
index 0444666e11..40b23f8dfd 100644
--- a/src/regress/lib/libcrypto/bn/general/bn_isqrt.c
+++ b/src/regress/lib/libcrypto/bn/general/bn_isqrt.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bn_isqrt.c,v 1.5 2022/08/12 16:12:39 tb Exp $ */ 1/* $OpenBSD: bn_isqrt.c,v 1.6 2022/08/12 16:13:40 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2022 Theo Buehler <tb@openbsd.org> 3 * Copyright (c) 2022 Theo Buehler <tb@openbsd.org>
4 * 4 *
@@ -76,7 +76,7 @@ check_tables(int print)
76 for (i = 0; i < sizeof(fill) / sizeof(fill[0]); i++) { 76 for (i = 0; i < sizeof(fill) / sizeof(fill[0]); i++) {
77 memset(q, 0, sizeof(q)); 77 memset(q, 0, sizeof(q));
78 78
79 for (j = 0; j <= fill[i]; j++) 79 for (j = 0; j < fill[i]; j++)
80 q[(j * j) % fill[i]] = 1; 80 q[(j * j) % fill[i]] = 1;
81 81
82 if ((table = get_table(fill[i])) == NULL) { 82 if ((table = get_table(fill[i])) == NULL) {