bio/b_sock.c: cleanup obsolete stuff.
Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
parent
6bc1dfd651
commit
2f0c9d5cdf
1 changed files with 0 additions and 12 deletions
|
@ -64,7 +64,6 @@
|
|||
NETDB_DEFINE_CONTEXT
|
||||
#endif
|
||||
#ifndef OPENSSL_NO_SOCK
|
||||
# include <openssl/dso.h>
|
||||
# define SOCKET_PROTOCOL IPPROTO_TCP
|
||||
# ifdef SO_MAXCONN
|
||||
# define MAX_LISTEN SO_MAXCONN
|
||||
|
@ -77,17 +76,6 @@ NETDB_DEFINE_CONTEXT
|
|||
static int wsa_init_done = 0;
|
||||
# endif
|
||||
|
||||
/*
|
||||
* WSAAPI specifier is required to make indirect calls to run-time
|
||||
* linked WinSock 2 functions used in this module, to be specific
|
||||
* [get|free]addrinfo and getnameinfo. This is because WinSock uses
|
||||
* uses non-C calling convention, __stdcall vs. __cdecl, on x86
|
||||
* Windows. On non-WinSock platforms WSAAPI needs to be void.
|
||||
*/
|
||||
# ifndef WSAAPI
|
||||
# define WSAAPI
|
||||
# endif
|
||||
|
||||
# if OPENSSL_API_COMPAT < 0x10100000L
|
||||
int BIO_get_host_ip(const char *str, unsigned char *ip)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue