summaryrefslogtreecommitdiff
path: root/src/regress/lib/libcrypto/bn/bn_mod_sqrt.c
diff options
context:
space:
mode:
authortb <>2023-04-06 12:01:45 +0000
committertb <>2023-04-06 12:01:45 +0000
commit8be3479c145e0356a9bb014b2f131c4f04358697 (patch)
tree807d8924b1fd491d8d560085529bea04f502c6f4 /src/regress/lib/libcrypto/bn/bn_mod_sqrt.c
parent7d10abfb7e437d58f50e11ba7375355501db947a (diff)
downloadopenbsd-8be3479c145e0356a9bb014b2f131c4f04358697.tar.gz
openbsd-8be3479c145e0356a9bb014b2f131c4f04358697.tar.bz2
openbsd-8be3479c145e0356a9bb014b2f131c4f04358697.zip
Move a comment to the proper place
Diffstat (limited to 'src/regress/lib/libcrypto/bn/bn_mod_sqrt.c')
-rw-r--r--src/regress/lib/libcrypto/bn/bn_mod_sqrt.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/regress/lib/libcrypto/bn/bn_mod_sqrt.c b/src/regress/lib/libcrypto/bn/bn_mod_sqrt.c
index 5273aba7c2..a8a624f85b 100644
--- a/src/regress/lib/libcrypto/bn/bn_mod_sqrt.c
+++ b/src/regress/lib/libcrypto/bn/bn_mod_sqrt.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bn_mod_sqrt.c,v 1.8 2023/04/05 11:03:11 tb Exp $ */ 1/* $OpenBSD: bn_mod_sqrt.c,v 1.9 2023/04/06 12:01:45 tb Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2022,2023 Theo Buehler <tb@openbsd.org> 4 * Copyright (c) 2022,2023 Theo Buehler <tb@openbsd.org>
@@ -71,15 +71,14 @@ struct mod_sqrt_test {
71 .sqrt = "7", 71 .sqrt = "7",
72 }, 72 },
73 73
74 /*
75 * Test cases resulting in an infinite loop before bn_sqrt.c r1.10.
76 */
77
74 { 78 {
75 .a = "20a7ee", 79 .a = "20a7ee",
76 .p = "460201", /* 460201 == 4D5 * E7D */ 80 .p = "460201", /* 460201 == 4D5 * E7D */
77 }, 81 },
78
79 /*
80 * Test case resulting in an infinite loop before bn_sqrt.c r1.10.
81 */
82
83 { 82 {
84 .a = "65bebdb00a96fc814ec44b81f98b59fba3c30203928fa521" 83 .a = "65bebdb00a96fc814ec44b81f98b59fba3c30203928fa521"
85 "4c51e0a97091645280c947b005847f239758482b9bfc45b0" 84 "4c51e0a97091645280c947b005847f239758482b9bfc45b0"