]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
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:18 +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)

apps/speed.c

index 89a55c4efa5b465467f187ebcf309a50f1dd4796..a790f280db640658d706ffb45f161f27cf0a7115 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>