diff options
| author | tb <> | 2025-01-24 11:49:13 +0000 |
|---|---|---|
| committer | tb <> | 2025-01-24 11:49:13 +0000 |
| commit | b6ef5ce8e459627efe3f07bc95bcfa8c48704fba (patch) | |
| tree | 1801903e86530e4367bc3e4533facee5c24fc0ab /src/regress/lib/libcrypto/ec/ectest.c | |
| parent | af147c629624a5d98195bd0e9eb33bd6961da774 (diff) | |
| download | openbsd-b6ef5ce8e459627efe3f07bc95bcfa8c48704fba.tar.gz openbsd-b6ef5ce8e459627efe3f07bc95bcfa8c48704fba.tar.bz2 openbsd-b6ef5ce8e459627efe3f07bc95bcfa8c48704fba.zip | |
Remove pointless call to EC_GROUP_precompute_mul()
Diffstat (limited to 'src/regress/lib/libcrypto/ec/ectest.c')
| -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)) |
