[openssl/openssl] 8fe8c0: Ensure that SIZE_MAX is defined where OSSL_SSIZE_M...
Richard Levitte
noreply at github.com
Wed Nov 16 07:19:53 UTC 2022
Branch: refs/heads/openssl-3.1
Home: https://github.com/openssl/openssl
Commit: 8fe8c0f89eb9e7b67e24fdf59b759aca8f70cac2
https://github.com/openssl/openssl/commit/8fe8c0f89eb9e7b67e24fdf59b759aca8f70cac2
Author: Richard Levitte <levitte at openssl.org>
Date: 2022-11-16 (Wed, 16 Nov 2022)
Changed paths:
M include/internal/e_os.h
Log Message:
-----------
Ensure that SIZE_MAX is defined where OSSL_SSIZE_MAX is used.
include/openssl/e_os2.h defines OSSL_SSIZE_MAX in terms of SIZE_MAX as a
fallback. This doesn't work well on platforms where SIZE_MAX isn't defined,
so we must ensure that it's defined by including "internal/numbers.h".
Since this is compensating for operating system discrepancies, it's
reasonable to make this change in include/internal/e_os.h.
Reviewed-by: Hugo Landau <hlandau at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19693)
(cherry picked from commit 1a298b00112e50718acc1fdd40b9bce482112cbf)
More information about the openssl-commits
mailing list