summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/bn/bn_bpsw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/bn/bn_bpsw.c b/src/lib/libcrypto/bn/bn_bpsw.c
index 93d43afff3..95640deaba 100644
--- a/src/lib/libcrypto/bn/bn_bpsw.c
+++ b/src/lib/libcrypto/bn/bn_bpsw.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bn_bpsw.c,v 1.5 2022/07/29 08:37:33 tb Exp $ */ 1/* $OpenBSD: bn_bpsw.c,v 1.6 2022/08/29 18:54:06 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2022 Martin Grenouilloux <martin.grenouilloux@lse.epita.fr> 3 * Copyright (c) 2022 Martin Grenouilloux <martin.grenouilloux@lse.epita.fr>
4 * Copyright (c) 2022 Theo Buehler <tb@openbsd.org> 4 * Copyright (c) 2022 Theo Buehler <tb@openbsd.org>
@@ -358,7 +358,7 @@ bn_miller_rabin_base_2(int *is_prime, const BIGNUM *n, BN_CTX *ctx)
358 358
359 /* 359 /*
360 * If 2^{2^i k} == -1 (mod n) for some 1 <= i < s, then n is a 360 * If 2^{2^i k} == -1 (mod n) for some 1 <= i < s, then n is a
361 * 2-pseudoprime 361 * 2-pseudoprime.
362 */ 362 */
363 363
364 for (i = 1; i < s; i++) { 364 for (i = 1; i < s; i++) {