From: Richard Levitte Date: Mon, 20 Jun 2022 06:23:27 +0000 (+0200) Subject: providers/implementations/exchange/kdf_exch.c: fix unavailable SIZE_MAX X-Git-Tag: openssl-3.2.0-alpha1~2514 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6010d1a1020223274de39e3ce25643b33dac80d;p=thirdparty%2Fopenssl.git providers/implementations/exchange/kdf_exch.c: fix unavailable SIZE_MAX 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 Reviewed-by: Dmitry Belyavskiy Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/18605) --- diff --git a/providers/implementations/exchange/kdf_exch.c b/providers/implementations/exchange/kdf_exch.c index bb18da9eba9..5fa444dc3dc 100644 --- a/providers/implementations/exchange/kdf_exch.c +++ b/providers/implementations/exchange/kdf_exch.c @@ -14,6 +14,7 @@ #include #include #include +#include "internal/numbers.h" #include "prov/implementations.h" #include "prov/provider_ctx.h" #include "prov/kdfexchange.h"