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

This reverts commit 963bb62195.

Reviewed-by: Tim Hudson <tjh@openssl.org>
This commit is contained in:
Rich Salz 2016-03-07 15:32:18 -05:00
parent 95e040bb2b
commit 37b1f8bd62

5
e_os.h
View File

@ -460,7 +460,10 @@ extern int kbhit(void);
# endif
# ifdef USE_SOCKETS
# ifdef OPENSSL_NO_SOCK
# 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)
# elif !defined(__DJGPP__)