diff options
author | Richard Levitte <levitte@openssl.org> | 2023-03-17 16:56:11 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2023-03-17 16:56:11 +0100 |
commit | 46ce0854db51e373ab6ed4982431349107cd9b6d (patch) | |
tree | 1e0d8f3e92a623649483b60527cde8275183205d /providers | |
parent | e5dd732749f524e2a0aaa67f8d514d34863dd89f (diff) |
providers/implementations/kdfs/argon2.c: Include openssl/e_os2.h instead of stdint.h
<stdint.h> may not exist with pre-C99 compilers. <openssl/e_os2.h> deals
with that, so include it instead.
Similarly, include "internal/numbers.h" rather than <limits.h>, to deal
with things that may be lacking in the latter.
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20537)
Diffstat (limited to 'providers')
-rw-r--r-- | providers/implementations/kdfs/argon2.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/providers/implementations/kdfs/argon2.c b/providers/implementations/kdfs/argon2.c index 034c7e3003..89947472c0 100644 --- a/providers/implementations/kdfs/argon2.c +++ b/providers/implementations/kdfs/argon2.c @@ -12,11 +12,9 @@ #include <stdlib.h> #include <stddef.h> -#include <stdint.h> #include <stdarg.h> -#include <limits.h> #include <string.h> -#include <crypto/evp.h> +#include <openssl/e_os2.h> #include <openssl/evp.h> #include <openssl/objects.h> #include <openssl/crypto.h> @@ -25,11 +23,12 @@ #include <openssl/core_names.h> #include <openssl/params.h> #include <openssl/thread.h> +#include <openssl/proverr.h> #include "internal/thread.h" #include "internal/numbers.h" #include "internal/endian.h" +#include "crypto/evp.h" #include "prov/implementations.h" -#include <openssl/proverr.h> #include "prov/provider_ctx.h" #include "prov/providercommon.h" #include "prov/blake2.h" |