diff options
Diffstat (limited to 'crypto/bio')
-rw-r--r-- | crypto/bio/b_sock.c | 8 | ||||
-rw-r--r-- | crypto/bio/bss_dgram.c | 5 | ||||
-rw-r--r-- | crypto/bio/bss_log.c | 2 |
3 files changed, 0 insertions, 15 deletions
diff --git a/crypto/bio/b_sock.c b/crypto/bio/b_sock.c index b3e89431bd..3243eca9dc 100644 --- a/crypto/bio/b_sock.c +++ b/crypto/bio/b_sock.c @@ -11,10 +11,6 @@ #include <stdlib.h> #include <errno.h> #include "bio_lcl.h" -#if defined(NETWARE_CLIB) -# include <sys/ioctl.h> -NETDB_DEFINE_CONTEXT -#endif #ifndef OPENSSL_NO_SOCK # define SOCKET_PROTOCOL IPPROTO_TCP # ifdef SO_MAXCONN @@ -114,11 +110,7 @@ struct hostent *BIO_gethostbyname(const char *name) * Caching gethostbyname() results forever is wrong, so we have to let * the true gethostbyname() worry about this */ -# if (defined(NETWARE_BSDSOCK) && !defined(__NOVELL_LIBC__)) - return gethostbyname((char *)name); -# else return gethostbyname(name); -# endif } # endif diff --git a/crypto/bio/bss_dgram.c b/crypto/bio/bss_dgram.c index 90fe3c8efd..1b2b5c7455 100644 --- a/crypto/bio/bss_dgram.c +++ b/crypto/bio/bss_dgram.c @@ -339,13 +339,8 @@ static int dgram_write(BIO *b, const char *in, int inl) else { int peerlen = BIO_ADDR_sockaddr_size(&data->peer); -# if defined(NETWARE_CLIB) && defined(NETWARE_BSDSOCK) - ret = sendto(b->num, (char *)in, inl, 0, - BIO_ADDR_sockaddr(&data->peer), peerlen); -# else ret = sendto(b->num, in, inl, 0, BIO_ADDR_sockaddr(&data->peer), peerlen); -# endif } BIO_clear_retry_flags(b); diff --git a/crypto/bio/bss_log.c b/crypto/bio/bss_log.c index c26b10eeae..a1c03270b3 100644 --- a/crypto/bio/bss_log.c +++ b/crypto/bio/bss_log.c @@ -39,8 +39,6 @@ void *_malloc32(__size_t); # endif /* __INITIAL_POINTER_SIZE == 64 */ # endif /* __INITIAL_POINTER_SIZE && defined * _ANSI_C_SOURCE */ -#elif defined(OPENSSL_SYS_NETWARE) -# define NO_SYSLOG #elif (!defined(MSDOS) || defined(WATT32)) && !defined(OPENSSL_SYS_VXWORKS) && !defined(NO_SYSLOG) # include <syslog.h> #endif |