aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/bio/b_sock.c
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2018-01-06 11:49:53 -0500
committerRich Salz <rsalz@openssl.org>2018-01-07 09:51:54 -0500
commit617b49db14fa4c1211bfc5d0e88294d0f159c9a9 (patch)
tree314445188004c85c283c0f5a29fac214d3f5230e /crypto/bio/b_sock.c
parent9422d45de2b70cabec5f6e6a5c812e0647e6d3ab (diff)
downloadopenssl-617b49db14fa4c1211bfc5d0e88294d0f159c9a9.tar.gz
Remove remaining NETWARE ifdef's
Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/5028)
Diffstat (limited to 'crypto/bio/b_sock.c')
-rw-r--r--crypto/bio/b_sock.c8
1 files changed, 0 insertions, 8 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