diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/regress/lib/libcrypto/ec/ectest.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/regress/lib/libcrypto/ec/ectest.c b/src/regress/lib/libcrypto/ec/ectest.c index 48f05eeeee..7492c21e72 100644 --- a/src/regress/lib/libcrypto/ec/ectest.c +++ b/src/regress/lib/libcrypto/ec/ectest.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ectest.c,v 1.26 2025/01/06 10:43:26 tb Exp $ */ | 1 | /* $OpenBSD: ectest.c,v 1.27 2025/01/22 06:46:08 tb Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Originally written by Bodo Moeller for the OpenSSL project. | 3 | * Originally written by Bodo Moeller for the OpenSSL project. |
| 4 | */ | 4 | */ |
| @@ -128,8 +128,7 @@ group_order_tests(EC_GROUP *group) | |||
| 128 | ABORT; | 128 | ABORT; |
| 129 | fprintf(stdout, " ok\n"); | 129 | fprintf(stdout, " ok\n"); |
| 130 | fprintf(stdout, "long/negative scalar tests ... "); | 130 | fprintf(stdout, "long/negative scalar tests ... "); |
| 131 | /* XXX - switch back to BN_one() after next bump. */ | 131 | if (!BN_one(n1)) |
| 132 | if (!BN_set_word(n1, 1)) | ||
| 133 | ABORT; | 132 | ABORT; |
| 134 | /* n1 = 1 - order */ | 133 | /* n1 = 1 - order */ |
| 135 | if (!BN_sub(n1, n1, order)) | 134 | if (!BN_sub(n1, n1, order)) |
