diff options
author | Richard Levitte <levitte@openssl.org> | 2022-11-16 07:46:28 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2022-11-16 08:15:40 +0100 |
commit | 1a298b00112e50718acc1fdd40b9bce482112cbf (patch) | |
tree | acfc56e1fb0d7e41ca0a1f0d72d7d3998e4713ff /apps | |
parent | 96796ab9baedee8b7de8d9ffc9e19dc0d8f8327a (diff) |
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@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19693)
Diffstat (limited to 'apps')
0 files changed, 0 insertions, 0 deletions