diff options
author | tb <> | 2025-01-24 11:49:13 +0000 |
---|---|---|
committer | tb <> | 2025-01-24 11:49:13 +0000 |
commit | 0fc89df461764e969e114f07942a72c98b6d4e8e (patch) | |
tree | 1801903e86530e4367bc3e4533facee5c24fc0ab /src | |
parent | 035efa9b2c99736f650c747e692040439ceff088 (diff) | |
download | openbsd-0fc89df461764e969e114f07942a72c98b6d4e8e.tar.gz openbsd-0fc89df461764e969e114f07942a72c98b6d4e8e.tar.bz2 openbsd-0fc89df461764e969e114f07942a72c98b6d4e8e.zip |
Remove pointless call to EC_GROUP_precompute_mul()
Diffstat (limited to 'src')
-rw-r--r-- | src/regress/lib/libcrypto/ec/ectest.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/regress/lib/libcrypto/ec/ectest.c b/src/regress/lib/libcrypto/ec/ectest.c index 1aa6b1717b..fc44f9c886 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.34 2025/01/22 15:38:25 tb Exp $ */ | 1 | /* $OpenBSD: ectest.c,v 1.35 2025/01/24 11:49:13 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 | */ |
@@ -117,8 +117,6 @@ group_order_tests(EC_GROUP *group, BN_CTX *ctx) | |||
117 | ABORT; | 117 | ABORT; |
118 | fprintf(stdout, "."); | 118 | fprintf(stdout, "."); |
119 | fflush(stdout); | 119 | fflush(stdout); |
120 | if (!EC_GROUP_precompute_mult(group, ctx)) | ||
121 | ABORT; | ||
122 | if (!EC_POINT_mul(group, Q, order, NULL, NULL, ctx)) | 120 | if (!EC_POINT_mul(group, Q, order, NULL, NULL, ctx)) |
123 | ABORT; | 121 | ABORT; |
124 | if (!EC_POINT_is_at_infinity(group, Q)) | 122 | if (!EC_POINT_is_at_infinity(group, Q)) |