]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
providers/implementations/exchange/kdf_exch.c: fix unavailable SIZE_MAX
authorRichard Levitte <levitte@openssl.org>
Mon, 20 Jun 2022 06:23:27 +0000 (08:23 +0200)
committerMatt Caswell <matt@openssl.org>
Mon, 20 Jun 2022 09:11:43 +0000 (10:11 +0100)
SIZE_MAX is used in a recent fix of this file, but without including
internal/numbers.h, so that macro ends up not existing on some platforms,
resulting in build failures.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18605)

providers/implementations/exchange/kdf_exch.c

index bb18da9eba9cd9f329f5bf6b05a4e3bf3b3a94fb..5fa444dc3dca04bb3bdcac236cb8206ae3a524e0 100644 (file)
@@ -14,6 +14,7 @@
 #include <openssl/err.h>
 #include <openssl/proverr.h>
 #include <openssl/params.h>
+#include "internal/numbers.h"
 #include "prov/implementations.h"
 #include "prov/provider_ctx.h"
 #include "prov/kdfexchange.h"