summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2022-06-20 08:23:27 +0200
committerMatt Caswell <matt@openssl.org>2022-06-20 10:03:17 +0100
commitabebcec7b1a30fbb1fd5c5cbbe8817690c139163 (patch)
tree2eff9c49c29e8f9ac9febd9fb2e437d7d6d70759
parent9e86b3815719d29f7bde2294403f97c42ce82a16 (diff)
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 <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)
-rw-r--r--providers/implementations/exchange/kdf_exch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/providers/implementations/exchange/kdf_exch.c b/providers/implementations/exchange/kdf_exch.c
index bb18da9eba..5fa444dc3d 100644
--- a/providers/implementations/exchange/kdf_exch.c
+++ b/providers/implementations/exchange/kdf_exch.c
@@ -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"