diff options
author | Richard Levitte <levitte@openssl.org> | 2021-06-21 09:25:16 +0200 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2021-06-22 19:50:11 +1000 |
commit | e493d6e0ca4157741d2e4cfcb91fd367851f5771 (patch) | |
tree | a517c68e58e81811c8ba2045c31b45d9b0f98cad /test/ecstresstest.c | |
parent | 2086818a3142510031f58cfac85747d0393637ed (diff) | |
download | openssl-e493d6e0ca4157741d2e4cfcb91fd367851f5771.zip openssl-e493d6e0ca4157741d2e4cfcb91fd367851f5771.tar.gz openssl-e493d6e0ca4157741d2e4cfcb91fd367851f5771.tar.bz2 |
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 1ffb7e5..22d46c5 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, |