aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/bio/b_sock.c
Commit message (Collapse)AuthorAgeFilesLines
* RT3548: Remove unsupported platformsRich Salz2015-01-121-2/+1
| | | | | | | This last one for this ticket. Removes WIN16. So long, MS_CALLBACK and MS_FAR. We won't miss you. Reviewed-by: Richard Levitte <levitte@openssl.org>
* Further comment amendments to preserve formatting prior to source reformatMatt Caswell2015-01-061-1/+2
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* RT3548: Remove some obsolete platformsRich Salz2014-12-171-4/+0
| | | | | | This commit removes BEOS. Reviewed-by: Richard Levitte <levitte@openssl.org>
* Undo a90081576c94f9f54de1755188a00ccc1760549aRich Salz2014-08-091-1/+11
| | | | Undo unapproved commit that removed DJGPP and WATT32
* Remove DJGPP (and therefore WATT32) #ifdef's.Rich Salz2014-08-081-11/+1
| | | | | | DJGPP is no longer a supported platform. Remove all #ifdef, etc., cases that refer to it. DJGPP also #define'd WATT32, so that is now removed as well.
* b_sock.c: make getsockopt work in cases when optlen is 64-bit value.Andy Polyakov2012-06-111-3/+4
|
* OPENSSL_NO_SOCK fixes.Andy Polyakov2012-04-161-1/+1
| | | | | PR: 2791 Submitted by: Ben Noordhuis
* PR: 2512Dr. Stephen Henson2011-05-251-0/+4
| | | | | | | Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de> Reviewed by: steve Fix BIO_accept so it can be bound to IPv4 or IPv6 sockets consistently.
* After some adjustments, apply the changes OpenSSL 1.0.0d on OpenVMSRichard Levitte2011-03-191-1/+24
| | | | submitted by Steven M. Schweda <sms@antinode.info>
* fix PR#2261 in a different wayDr. Stephen Henson2010-05-311-0/+7
|
* http://cvs.openssl.org/chngview?cn=19053 made me wonder if bind() andAndy Polyakov2010-01-071-5/+8
| | | | | | | connect() are as finicky as sendto() when it comes to socket address length. As it turned out they are, therefore the fix. Note that you can't reproduce the problem on Linux, it was failing on Solaris, FreeBSD, most likely on more...
* b_sock.c: correct indirect calls on WinSock platforms.Andy Polyakov2009-12-301-3/+14
| | | | | PR: 2130 Submitted by: Eugeny Gostyukhin
* b_sock.c: fix compiler warning.Andy Polyakov2009-11-151-1/+2
|
* Combat gcc 4.4.1 aliasing rules.Andy Polyakov2009-10-061-46/+67
|
* PR: 2047Dr. Stephen Henson2009-09-201-5/+15
| | | | | | | Submitted by: David Lee <live4thee@gmail.com>, steve@openssl.org Approved by: steve@openssl.org Fix for IPv6 handling in BIO_get_accept_socket().
* PR: 2005Dr. Stephen Henson2009-08-261-7/+2
| | | | | | | | | Submitted by: steve@openssl.org Some systems have broken IPv6 headers and/or implementations. If OPENSSL_USE_IPV6 is set to 0 IPv6 is not used, if it is set to 1 it is used and if undefined an attempt is made to detect at compile time by checking if AF_INET6 is set and excluding known problem platforms.
* Improve readability of bio/b_sock.cAndy Polyakov2009-04-261-8/+8
|
* Updates from 1.0.0-stableDr. Stephen Henson2009-04-041-1/+1
|
* Netware support.Dr. Stephen Henson2008-01-031-7/+15
| | | | Submitted by: Guenter Knauf <eflash@gmx.net>
* Change submitted by Doug Kaufman. He writes:Richard Levitte2007-12-031-1/+1
| | | | | | | | | | | | I just compiled the 9.9-dev version from the 12022007 tarball under DJGPP. There were only 2 changes needed, one for b_sock.c, since DJGPP with WATT32 doesn't define socklen_t and one for testtsa to handle DOS style path separators. I also noted what seems to be a typographical error in ts.pod. The test suite passes. The patch is attached. Since I am in the US, I have sent notifications to the Bureau of Industry and Security and to the NSA.
* It's inappropraite to override application signal, nor is it appropriateAndy Polyakov2007-09-161-9/+1
| | | | | to shut down Winsock unless we know it won't be used [and we never do]. PR: 1439
* Add BeOS support.Ulf Möller2006-04-111-1/+10
| | | | | | PR: 1312 Submitted by: Oliver Tappe <zooey@hirschkaefer.de> Reviewed by: Ulf Moeller
* Fix warnings about "sin" conflicting with sin(3) definition.Dr. Stephen Henson2006-02-091-10/+10
|
* Avoid warnings about shadowed definitions.Dr. Stephen Henson2006-02-091-25/+25
|
* The VMS I run on doesn't know socklen_t and uses size_t instead.Richard Levitte2006-01-041-1/+6
|
* Refine login in b_sock.c.Andy Polyakov2006-01-021-1/+15
|
* Fix typo and purify logic in b_sock.cAndy Polyakov2006-01-021-3/+3
|
* Make b_sock.c IPv6 savvy.Andy Polyakov2006-01-021-29/+115
|
* Netware patch submitted by Verdon Walker" <VWalker@novell.com> in PRRichard Levitte2005-06-131-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | 1107. He says: This is a followup to the NetWare patch that was applied to beta3. It does the following: - Fixes a problem in the CLib build with undefined symbols. - Adds the ability to use BSD sockets as the default for the OpenSSL socket BIO. NetWare supports 2 flavors of sockets and our Apache developers need BSD sockets as a configurable option when building OpenSSL. This adds that for them. - Updates to the INSTALL.NW file to explain new options. I have tried very hard to make sure all the changes are in NetWare specific files or guarded carefully to make sure they only impact NetWare builds. I have tested the Windows build to make sure it does not break that since we have made changes to mk1mf.pl. We are still working the gcc cross compile for NetWare issue and hope to have a patch for that before beta 6 is released.
* Use BUF_strlcpy() instead of strcpy().Richard Levitte2003-12-271-6/+6
| | | | | | | Use BUF_strlcat() instead of strcat(). Use BIO_snprintf() instead of sprintf(). In some cases, keep better track of buffer lengths. This is part of a large change submitted by Markus Friedl <markus@openbsd.org>
* Netware-specific changes,Richard Levitte2003-11-281-1/+32
| | | | | | PR: 780 Submitted by: Verdon Walker <VWalker@novell.com> Reviewed by: Richard Levitte
* Make sure we get the definition of OPENSSL_NO_SOCK.Richard Levitte2003-03-201-2/+2
|
* We can't say in advance what the argument to BIO_socket_ioctl() should be, soRichard Levitte2003-01-311-2/+2
| | | | | | let's make that a void *. Also, BIO_socket_nbio() should send it an int argument, not a long. PR: 457
* WinCE patchesRichard Levitte2002-11-151-0/+2
|
* Fix to build better with DJGPP.Richard Levitte2002-11-141-0/+6
| | | | | | | | | | | | | | | | | PR: 338 Here's the description, submitted by Gisle Vanem <giva@bgnett.no>: 1. sock_init() renamed to ssl_sock_init() in ./apps/s_socket.c due to name-clash with Watt-32. 2. rand() renamed to Rand() in ./crypto/bn/divtest.c due to name-clash with <stdlib.h> 3. Added calls to dbug_init()/sock_init() in some demo programs. 4. Changed cflags/lflags in configure. Watt-32 install root now taken from $WATT_ROOT.
* Security fixes brought forward from 0.9.7.Ben Laurie2002-11-131-0/+4
|
* Add support for DJGPP.Richard Levitte2002-06-131-0/+4
| | | | PR: 75
* Fix of mixup bwtween SOMAXCONN and SO_MAXCONN.Richard Levitte2002-03-291-2/+2
| | | | | Furthermore, make SO_MAXCONN the first choice, since that's the standard (as far as I know).
* Stop compiler warnings.Dr. Stephen Henson2001-10-271-0/+5
|
* disable caching in BIO_gethostbynameBodo Möller2001-10-261-14/+22
|
* Make get_ip() a bit more strict in it's parsing of IP addresses, andRichard Levitte2001-06-251-3/+3
| | | | at the same time a bit more accepting with host names.
* Use new-style system-id macros everywhere possible. I hope I haven'tRichard Levitte2001-02-201-6/+6
| | | | | | | missed any. This compiles and runs on Linux, and external applications have no problems with it. The definite test will be to build this on VMS.
* Make all configuration macros available for application by makingRichard Levitte2001-02-191-1/+1
| | | | | | | | | | | | sure they are available in opensslconf.h, by giving them names starting with "OPENSSL_" to avoid conflicts with other packages and by making sure e_os2.h will cover all platform-specific cases together with opensslconf.h. I've checked fairly well that nothing breaks with this (apart from external software that will adapt if they have used something like NO_KRB5), but I can't guarantee it completely, so a review of this change would be a good thing.
* Fix a memory leak in BIO_get_accept_socket(). This leak was small andRichard Levitte2001-02-051-4/+4
| | | | | | only happened when the port number wasn't parsable ot the host wasn't possible to convert to an IP address. Contributed by Niko Baric <Niko.Baric@epost.de>
* Make non blocking I/O work for accept BIOs.Dr. Stephen Henson2000-10-121-0/+1
|
* BIO_sock_init() returns 1 for success and -1 for failure, not 0;Bodo Möller2000-10-091-3/+3
| | | | thus the condition '!BIO_sock_init()' doesn't make sense.
* If a ip address is successfully parsed, the WSA structure under Win32 wasn'tRichard Levitte2000-07-311-2/+7
| | | | | properly initialised. Fixed. Bug reported by DeJuan Jackson <djackson@inverge.com>
* There have been a number of complaints from a number of sources that namesRichard Levitte2000-06-011-14/+14
| | | | | | | | | like Malloc, Realloc and especially Free conflict with already existing names on some operating systems or other packages. That is reason enough to change the names of the OpenSSL memory allocation macros to something that has a better chance of being unique, like prepending them with OPENSSL_. This change includes all the name changes needed throughout all C files.
* Seek out and destroy another evil cast.Ulf Möller2000-01-301-1/+1
|
* Source code cleanups: Use void * rather than char * in lhash,Ulf Möller2000-01-301-2/+10
| | | | eliminate some of the -Wcast-qual warnings (debug-ben-strict target)