aboutsummaryrefslogtreecommitdiffstats
path: root/e_os.h
Commit message (Collapse)AuthorAgeFilesLines
* s_client/s_server: support unix domain socketsGeoff Thorpe2014-05-081-0/+10
| | | | | | | | | | | | | | | | | | | | | | The "-unix <path>" argument allows s_server and s_client to use a unix domain socket in the filesystem instead of IPv4 ("-connect", "-port", "-accept", etc). If s_server exits gracefully, such as when "-naccept" is used and the requested number of SSL/TLS connections have occurred, then the domain socket file is removed. On ctrl-C, it is likely that the stale socket file will be left over, such that s_server would normally fail to restart with the same arguments. For this reason, s_server also supports an "-unlink" option, which will clean up any stale socket file before starting. If you have any reason to want encrypted IPC within an O/S instance, this concept might come in handy. Otherwise it just demonstrates that there is nothing about SSL/TLS that limits it to TCP/IP in any way. (There might also be benchmarking and profiling use in this path, as unix domain sockets are much lower overhead than connecting over local IP addresses). Signed-off-by: Geoff Thorpe <geoff@openssl.org>
* Avoid Windows 8 Getversion deprecated errors.Dr. Stephen Henson2014-02-251-0/+7
| | | | | | | | | | | Windows 8 SDKs complain that GetVersion() is deprecated. We only use GetVersion like this: (GetVersion() < 0x80000000) which checks if the Windows version is NT based. Use a macro check_winnt() which uses GetVersion() on older SDK versions and true otherwise.
* misspellings fixes by https://github.com/vlajos/misspell_fixerVeres Lajos2013-09-051-1/+1
|
* Improve WINCE support.Andy Polyakov2013-01-191-1/+4
| | | | Submitted by: Pierre Delaage
* e_os.h: keep stdin redifinitions to "normal" Windows.Andy Polyakov2012-10-291-1/+1
|
* e_os.h: skip redundant headers in fipscanister build.Andy Polyakov2012-10-271-2/+4
|
* Add new type ossl_ssize_t instead of ssize_t and move definitions toDr. Stephen Henson2010-07-261-12/+0
| | | | | e_os2.h, this should fix WIN32 compilation issues and hopefully avoid conflicts with other headers which may workaround ssize_t in different ways.
* fix PR#2261 in a different wayDr. Stephen Henson2010-05-311-4/+0
|
* PR: 2261Dr. Stephen Henson2010-05-271-0/+3
| | | | | | | Submitted By: De Rudder, Stephen L." <s_derudder@tditx.com> Workaround for newer Windows headers which define EADDRINUSE but not to the same value as WSAEADDRINUSE.
* PR: 2005Dr. Stephen Henson2009-08-261-0/+12
| | | | | | | | | 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.
* Updates from 1.0.0-stable branch.Dr. Stephen Henson2009-04-201-4/+4
|
* This _WIN32-specific patch makes it possible to "wrap" OpenSSL in anotherAndy Polyakov2008-12-221-1/+27
| | | | | | | .DLL, in particular static build. The issue has been discussed in RT#1230 and later on openssl-dev, and mutually exclusive approaches were suggested. This completes compromise solution suggested in RT#1230. PR: 1230
* Netware support.Dr. Stephen Henson2008-01-031-11/+22
| | | | Submitted by: Guenter Knauf <eflash@gmx.net>
* Addendum to commit #16651.Andy Polyakov2007-10-071-0/+8
|
* Fix mingw warnings.Andy Polyakov2006-10-231-1/+4
|
* Add BeOS support.Ulf Möller2006-04-111-0/+18
| | | | | | PR: 1312 Submitted by: Oliver Tappe <zooey@hirschkaefer.de> Reviewed by: Ulf Moeller
* Compile Windows with winsock2.h. But note that we still link with wsock32!Andy Polyakov2006-01-021-0/+12
| | | | | This works because wsock32 commonly loads ws2_32 anyway and we [intend to] check upon presense of winsock2-specific API at run-time.
* Keep disclaiming 16-bit platform support. For now remove WIN16 referencesAndy Polyakov2005-12-181-22/+2
| | | | from .h files...
* Tidying up WinCE support.Andy Polyakov2005-11-091-8/+13
|
* First draft for WCE PortSDK support. Once again! It's *draft* which requiresAndy Polyakov2005-11-061-1/+3
| | | | more work, i.e. more modifications are due...
* Engage OPENSSL_NO_POSIX_IO on Windows CE.Andy Polyakov2005-11-031-0/+1
|
* Make cygwin work in directories mounted with 'text' attribute.Andy Polyakov2005-11-031-0/+4
|
* Fix SunOS 4 building issue.Andy Polyakov2005-09-221-1/+1
| | | | PR: 1196
* "Overload" SunOS 4.x memcmp, which ruins ASN1_OBJECT table lookups.Andy Polyakov2005-09-201-0/+3
| | | | | PR: 1196 Submitted by: Russel Ruby
* WCE-specific fix for cryptlib.c.Andy Polyakov2005-08-021-1/+1
|
* Pull up Win64 support from 0.9.8.Andy Polyakov2005-07-051-0/+19
|
* Undefine DECRANDOM before redefining it.Richard Levitte2005-06-191-0/+1
| | | | PR: 1110
* Move the definition of DEVRANDOM for DJGPP from Configure to e_os.h.Richard Levitte2005-06-181-0/+1
| | | | | | That should solve the issues with propagating it through the Makefiles. PR: 1110
* Netware patch submitted by Verdon Walker" <VWalker@novell.com> in PRRichard Levitte2005-06-131-2/+18
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* Updated support for NetWare, submitted by Verdon Walker <VWalker@novell.com>.Richard Levitte2005-06-051-5/+1
| | | | PR: 1098
* Move _WIN32_WINNT definition from command line to e_os.h. The change isAndy Polyakov2005-05-211-0/+17
| | | | | inspired by VC6 failure report. In addition abstain from taking screen snapshots when running in NT service context.
* Rely on e_os.h to appropriately define str[n]casecmp in non-POSIXAndy Polyakov2005-01-131-0/+1
| | | | environments.
* NetWare fixes provided by Verdon Walker for OpenSSL 0.9.8-dev.Richard Levitte2004-06-281-0/+5
| | | | | | The changes have been mailed to <crypt@bis.doc.gov> as well. PR: 903
* o_str.h isn't a public header file.Richard Levitte2004-03-241-1/+1
|
* Netware-specific changes,Richard Levitte2003-11-281-0/+36
| | | | | | PR: 780 Submitted by: Verdon Walker <VWalker@novell.com> Reviewed by: Richard Levitte
* Further VxWorks changes from Bob Bradley <bob@chaoticsoftware.com>, thisRichard Levitte2003-09-281-4/+7
| | | | time involving VxWorks on MIPS
* Add necessary changes to be able to build on VxWorks for PPC860.Richard Levitte2003-09-271-1/+1
| | | | Contributed by Bob Bradley <bob@chaoticsoftware.com>
* Generalise the definition of strcasecmp() and strncasecmp() forRichard Levitte2003-09-091-1/+20
| | | | | | platforms that don't (necessarely) have it. In the case of VMS, this means moving a couple of functions from apps/ to crypto/ and make them general (although only used privately).
* EXIT() should mainly be exit(n), not return(n). OPENSSL_EXIT() willRichard Levitte2003-06-191-1/+1
| | | | take care of returning if necessary.
* Make sure ssize_t is defined on SunOS4.Richard Levitte2003-06-121-0/+2
| | | | PR: 585
* Because it may be needed in public header files, move the definitionRichard Levitte2003-03-201-1/+1
| | | | of OPENSSL_NO_FP_API on existence of OPENSSL_SYS_MSDOS to e_os2.h.
* DJGPP patches.Richard Levitte2002-12-041-0/+3
| | | | PR: 347
* EXIT() may mean return(). That's confusing, so let's have it really meanRichard Levitte2002-12-031-15/+15
| | | | | | exit() in whatever way works for the intended platform, and define OPENSSL_EXIT() to have the old meaning (the name is of course because it's only used in the openssl program)
* Windows CE updates, contributed by Steven Reddie <smr@essemer.com.au>Richard Levitte2002-12-031-3/+0
|
* Make sure EXIT() can always be used as one statement.Richard Levitte2002-11-281-3/+3
|
* WinCE patchesRichard Levitte2002-11-151-1/+12
|
* Fix to build better with DJGPP.Richard Levitte2002-11-141-3/+15
| | | | | | | | | | | | | | | | | 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.
* Add a few more VxWorks targets.Richard Levitte2002-10-091-0/+30
| | | | | | | | | Correct misspelled VXWORKS macros. Add VXWORKS identifying macros to e_os2.h. Add required inclusions and mappings for VxWorks in e_os.h. A few small modifications to make OpenSSL build and work on VxWorks. PR: 253, except for the change that was handled in an earlier commit, and a request for easy build of just parts of OpenSSL.
* Add support for DJGPP.Richard Levitte2002-06-131-1/+11
| | | | PR: 75
* Make sure that MS_STATIC isn't defined to 'static' under Win32.Richard Levitte2002-05-301-1/+1
| | | | PR: 51