]> git.ipfire.org Git - thirdparty/openssl.git/commit - crypto/params.c
params: avoid using intmax_t since it's not well supported
authorPauli <pauli@openssl.org>
Fri, 18 Jun 2021 01:05:20 +0000 (11:05 +1000)
committerPauli <pauli@openssl.org>
Sat, 19 Jun 2021 05:45:25 +0000 (15:45 +1000)
commitd7c88f760001fae2c608c1d10ae1539fba610288
tree12d41715eb8783325731c4213b539c0175b65910
parentd9ee027e898063d8b65d3bdbca3d903d7aff23a5
params: avoid using intmax_t since it's not well supported

Converting doubles to integers used to go via intmax_t which isn't properly
defined on some platforms.  The alternative is to go via int64_t.

Fixes #15815
Alternative to #15816

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15817)
crypto/params.c