]> git.ipfire.org Git - thirdparty/openssl.git/commit
providers/implementations/kdfs/argon2.c: Don't use UINT64_C
authorRichard Levitte <levitte@openssl.org>
Mon, 20 Mar 2023 07:09:40 +0000 (08:09 +0100)
committerPauli <pauli@openssl.org>
Tue, 21 Mar 2023 08:05:25 +0000 (19:05 +1100)
commit4b738c1ac945a3f1a985df79ff8c37a23d2f2fe0
tree4795dbc276efd4142662d106c1d33da200f991b1
parent41c3c71382f31a5a913bd09a74295d101d837055
providers/implementations/kdfs/argon2.c: Don't use UINT64_C

With less than C99 compilers, this macro isn't guaranteed to exist, and
the value passed to it is 32 bits, so explicitly ending it with 'UL' is
correct in all cases.  We simply leave it to the compiler to extend it
appropriately for uint64_t.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20547)
providers/implementations/kdfs/argon2.c