diff options
author | Richard Levitte <levitte@openssl.org> | 2021-06-21 09:25:16 +0200 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2021-06-22 11:50:11 +0200 |
commit | e493d6e0ca4157741d2e4cfcb91fd367851f5771 (patch) | |
tree | a517c68e58e81811c8ba2045c31b45d9b0f98cad /test/ecstresstest.c | |
parent | APPS: Make fallback opt_[u]intmax() implementations based on long (diff) | |
download | openssl-e493d6e0ca4157741d2e4cfcb91fd367851f5771.tar.xz openssl-e493d6e0ca4157741d2e4cfcb91fd367851f5771.zip |
APPS & TEST: Use ossl_[u]intmax_t rather than [u]intmax_t
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15825)
Diffstat (limited to 'test/ecstresstest.c')
-rw-r--r-- | test/ecstresstest.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/ecstresstest.c b/test/ecstresstest.c index 1ffb7e522e..22d46c50da 100644 --- a/test/ecstresstest.c +++ b/test/ecstresstest.c @@ -18,7 +18,7 @@ #define NUM_REPEATS "1000000" -static intmax_t num_repeats; +static ossl_intmax_t num_repeats; static int print_mode = 0; #ifndef OPENSSL_NO_EC @@ -39,10 +39,11 @@ static const char *kP256DefaultResult = * point multiplication. * Returns the X-coordinate of the end result or NULL on error. */ -static BIGNUM *walk_curve(const EC_GROUP *group, EC_POINT *point, intmax_t num) +static BIGNUM *walk_curve(const EC_GROUP *group, EC_POINT *point, + ossl_intmax_t num) { BIGNUM *scalar = NULL; - intmax_t i; + ossl_intmax_t i; if (!TEST_ptr(scalar = BN_new()) || !TEST_true(EC_POINT_get_affine_coordinates(group, point, scalar, |