Commit 963bb621 authored by David Woodhouse's avatar David Woodhouse Committed by Rich Salz
Browse files

Allow OPENSSL_NO_SOCK in e_os.h even for non-Windows/DOS platforms



UEFI needs this too. Don't keep it only in the Windows/DOS ifdef block.

Reviewed-by: default avatarTim Hudson <tjh@openssl.org>
Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
parent 8731a4fc
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -460,9 +460,6 @@ extern int kbhit(void);
# endif

# ifdef USE_SOCKETS
#  if defined(WINDOWS) || defined(MSDOS)
      /* windows world */

#  ifdef OPENSSL_NO_SOCK
#    define OpenSSL_Write(a,b,c)       (-1)
#    define OpenSSL_Read(a,b,c)        (-1)