From: Lars Erik Wik Date: Wed, 8 Oct 2025 15:06:39 +0000 (+0200) Subject: bio_ok.c: Fixed undefined identifier 'SIZE_MAX' X-Git-Tag: 3.6-PRE-CLANG-FORMAT-WEBKIT~48 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b47bb8687da178e23781b5fee6ed4c442aa9c4c;p=thirdparty%2Fopenssl.git bio_ok.c: Fixed undefined identifier 'SIZE_MAX' This fixes the following compilation error on HP-UX: ``` 11:07:19 crypto/evp/bio_ok.c: In function 'block_in': 11:07:19 crypto/evp/bio_ok.c:579: error: 'SIZE_MAX' undeclared (first use in this function) 11:07:19 crypto/evp/bio_ok.c:579: error: (Each undeclared identifier is reported only once 11:07:19 crypto/evp/bio_ok.c:579: error: for each function it appears in.) ``` Signed-off-by: Lars Erik Wik CLA: trivial Reviewed-by: Paul Dale Reviewed-by: Norbert Pocs Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/28793) (cherry picked from commit 695a5aaf0bb04bc2f2d395987f121c1ec41d3b3e) --- diff --git a/crypto/evp/bio_ok.c b/crypto/evp/bio_ok.c index 0129fe49461..bd44d27a707 100644 --- a/crypto/evp/bio_ok.c +++ b/crypto/evp/bio_ok.c @@ -77,6 +77,7 @@ #include #include #include "internal/endian.h" +#include "internal/numbers.h" /* includes SIZE_MAX */ #include "crypto/evp.h" static int ok_write(BIO *h, const char *buf, int num);