Fix SIZE_MAX not defined on z/OS etc
authorAnkit Das <ankitdas2k@gmail.com>
Wed, 2 Feb 2022 18:08:41 +0000 (23:38 +0530)
committerPauli <pauli@openssl.org>
Mon, 7 Feb 2022 00:57:48 +0000 (11:57 +1100)
Fixes openssl#17629 by including internal/numbers.h which defines SIZE_MAX

CLA: trivial

Fixes #17629

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17632)

(cherry picked from commit 25a0a44dc6223e515f5e91e41798cccf09c5612b)

apps/speed.c

index ada559228d5a08034afd3f9f88e11f310fec0286..9be01bb4b29f1ee228261262dc0f7976053e7c07 100644 (file)
@@ -29,6 +29,7 @@
 #include <math.h>
 #include "apps.h"
 #include "progs.h"
+#include "internal/numbers.h"
 #include <openssl/crypto.h>
 #include <openssl/rand.h>
 #include <openssl/err.h>