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:11:43 +0100
commitc6010d1a1020223274de39e3ce25643b33dac80d (patch)
tree6b4ec29e90e927011d893955b3bbad96797841cc
parent8547cd6790881cbba0f20aa4ce048243065a24bf (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"