diff options
author | David Woodhouse <David.Woodhouse@intel.com> | 2016-02-17 14:11:32 +0000 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-02-17 10:39:35 -0500 |
commit | 21b80f9a1246e4af099ed580f1c352ed5bde87cb (patch) | |
tree | ffe42a70c2f1e6f09f468d1ad900b5d09842e5d2 /include | |
parent | c7b7938e75587d1ff8cf28c9de966623cfbe8858 (diff) |
RT4318: Fix OSSL_SSIZE_MAX for UEFI build
Commit e634b448c ("Defines OSSL_SSIZE_MAX") introduced a definition of
OSSL_SSIZE_MAX which broke the UEFI build. Fix that by making UEFI take
the same definition as Ultrix (ssize_t == int).
Signed-off-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/e_os2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openssl/e_os2.h b/include/openssl/e_os2.h index 1a1fe3ebdf..8cf6c84272 100644 --- a/include/openssl/e_os2.h +++ b/include/openssl/e_os2.h @@ -269,7 +269,7 @@ extern "C" { # endif # endif -# if defined(__ultrix) && !defined(ssize_t) +# if (defined(__ultrix) || defined(OPENSSL_SYS_UEFI)) && !defined(ssize_t) # define ossl_ssize_t int # define OSSL_SSIZE_MAX INT_MAX # endif |