Commit 21b80f9a authored by David Woodhouse's avatar David Woodhouse Committed by Rich Salz
Browse files

RT4318: Fix OSSL_SSIZE_MAX for UEFI build



Commit e634b448 ("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: default avatarRich Salz <rsalz@openssl.org>
Reviewed-by: default avatarMatt Caswell <matt@openssl.org>
parent c7b7938e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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