summaryrefslogtreecommitdiffstats
path: root/e_os.h
AgeCommit message (Collapse)Author
2015-01-22Run util/openssl-format-source -v -c .Matt Caswell
Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-01-22mark all block comments that need format preserving so thatTim Hudson
indent will not alter them when reformatting comments (cherry picked from commit 1d97c8435171a7af575f73c526d79e1ef0ee5960) Conflicts: crypto/bn/bn_lcl.h crypto/bn/bn_prime.c crypto/engine/eng_all.c crypto/rc4/rc4_utl.c crypto/sha/sha.h ssl/kssl.c ssl/t1_lib.c Conflicts: crypto/rc4/rc4_enc.c crypto/x509v3/v3_scts.c crypto/x509v3/v3nametest.c ssl/d1_both.c ssl/s3_srvr.c ssl/ssl.h ssl/ssl_locl.h ssl/ssltest.c ssl/t1_lib.c Conflicts: crypto/asn1/a_sign.c crypto/bn/bn_div.c crypto/dsa/dsa_asn1.c crypto/ec/ecp_nistp224.c crypto/ec/ecp_nistp256.c crypto/ec/ecp_nistp521.c crypto/ec/ecp_nistputil.c crypto/modes/gcm128.c crypto/opensslv.h ssl/d1_both.c ssl/heartbeat_test.c ssl/s3_clnt.c ssl/s3_srvr.c ssl/ssl_sess.c ssl/t1_lib.c test/testutil.h Conflicts: apps/openssl.c apps/ts.c apps/vms_decc_init.c crypto/aes/aes_core.c crypto/aes/aes_x86core.c crypto/dsa/dsa_ameth.c crypto/ec/ec2_mult.c crypto/evp/evp.h crypto/objects/objects.h crypto/rsa/rsa_pss.c crypto/stack/safestack.h crypto/ts/ts.h crypto/ts/ts_rsp_verify.c crypto/whrlpool/wp_dgst.c crypto/x509v3/v3_ncons.c e_os2.h engines/ccgost/gost89.c engines/ccgost/gost_ctl.c engines/ccgost/gost_keywrap.c engines/ccgost/gost_keywrap.h engines/ccgost/gost_sign.c ssl/kssl.c ssl/s3_srvr.c Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-01-13Avoid deprecation problems in Visual Studio 13Matt Caswell
Reviewed-by: Andy Polyakov <appro@openssl.org> (cherry picked from commit 86d21d0b9577322ac5da0114c5fac16eb49b4cef) Conflicts: e_os.h
2015-01-13Avoid Windows 8 Getversion deprecated errors.Dr. Stephen Henson
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. (cherry picked from commit a4cc3c8041104896d51ae12ef7b678c31808ce52) Conflicts: apps/apps.c crypto/bio/bss_log.c Backported by Matt Caswell <matt@openssl.org> Reviewed-by: Tim Hudson <tjh@openss.org>
2014-10-17e_os.h: refine inline override logic (to address warnings in debug build).Andy Polyakov
Reviewed-by: Dr Stephen Henson <steve@openssl.org> (cherry picked from commit 55c7a4cf112bf154ed405ee05a6b7924b6b1ba92)
2014-10-17e_os.h: allow inline functions to be compiled by legacy compilers.Andy Polyakov
Reviewed-by: Matt Caswell <matt@openssl.org> (cherry picked from commit 40155f408985aff2e9f1b61b7cb04a3e518633a1) Conflicts: e_os.h
2014-08-21define inline for Visual StudioEmilia Kasper
In Visual Studio, inline is available in C++ only, however __inline is available for C, see http://msdn.microsoft.com/en-us/library/z8y1yy88.aspx Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Dr Stephen Henson <steve@openssl.org> (cherry picked from commit f511b25a7370c775dc9fd6198dbacd1706cf242b) Conflicts: e_os.h
2010-05-31fix PR#2261 in a different wayDr. Stephen Henson
2010-05-27PR: 2261Dr. Stephen Henson
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.
2008-12-30Backport http://cvs.openssl.org/chngview?cn=17710 from HEAD.Andy Polyakov
PR: 1230
2008-01-03Netware support.Dr. Stephen Henson
Submitted by: Guenter Knauf <eflash@gmx.net>
2007-10-13Make it possible to link VC static lib with either /MT or /MD applicationAndy Polyakov
[from HEAD]. PR: 1230
2005-09-22Fix SunOS 4 building issue [from HEAD].Andy Polyakov
PR: 1196 Submitted by: Russel Ruby
2005-09-20"Overload" SunOS 4.x memcmp, which ruins ASN1_OBJECT table lookups [from HEAD].Andy Polyakov
PR: 1196 Submitted by: Russel Ruby
2005-08-02WCE-specific fix for cryptlib.c [from HEAD].Andy Polyakov
2005-07-04To secure Win64 API I'm throwing in this minimalistic Win64 support.Andy Polyakov
2005-06-21DEVRANDOM, not DEBRANDOM...Richard Levitte
2005-06-19Undefine DECRANDOM before redefining it.Richard Levitte
PR: 1110
2005-06-18Move the definition of DEVRANDOM for DJGPP from Configure to e_os.h.Richard Levitte
That should solve the issues with propagating it through the Makefiles. PR: 1110
2005-06-13Netware patch submitted by Verdon Walker" <VWalker@novell.com> in PRRichard Levitte
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.
2005-06-05Updated support for NetWare, submitted by Verdon Walker <VWalker@novell.com>.Richard Levitte
PR: 1098
2005-05-21Move _WIN32_WINNT definition from command line to e_os.h [from HEAD].Andy Polyakov
2005-01-13Rely on e_os.h to appropriately define str[n]casecmp in non-POSIXAndy Polyakov
environments.
2004-06-28NetWare fixes provided by Verdon Walker for OpenSSL 0.9.8-dev.Richard Levitte
The changes have been mailed to <crypt@bis.doc.gov> as well. PR: 903
2004-03-24o_str.h isn't a public header file.Richard Levitte
2003-11-28Netware-specific changes,Richard Levitte
PR: 780 Submitted by: Verdon Walker <VWalker@novell.com> Reviewed by: Richard Levitte
2003-09-28Further VxWorks changes from Bob Bradley <bob@chaoticsoftware.com>, thisRichard Levitte
time involving VxWorks on MIPS
2003-09-27Add necessary changes to be able to build on VxWorks for PPC860.Richard Levitte
Contributed by Bob Bradley <bob@chaoticsoftware.com>
2003-09-09Generalise the definition of strcasecmp() and strncasecmp() forRichard Levitte
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).
2003-06-19EXIT() should mainly be exit(n), not return(n). OPENSSL_EXIT() willRichard Levitte
take care of returning if necessary.
2003-06-12Make sure ssize_t is defined on SunOS4.Richard Levitte
PR: 585
2003-03-20Because it may be needed in public header files, move the definitionRichard Levitte
of OPENSSL_NO_FP_API on existence of OPENSSL_SYS_MSDOS to e_os2.h.
2002-12-04DJGPP patches.Richard Levitte
PR: 347
2002-12-03EXIT() may mean return(). That's confusing, so let's have it really meanRichard Levitte
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)
2002-12-03Windows CE updates, contributed by Steven Reddie <smr@essemer.com.au>Richard Levitte
2002-11-28Make sure EXIT() can always be used as one statement.Richard Levitte
2002-11-15WinCE patchesRichard Levitte
2002-11-14Fix to build better with DJGPP.Richard Levitte
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.
2002-10-09Add a few more VxWorks targets.Richard Levitte
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.
2002-06-13Add support for DJGPP.Richard Levitte
PR: 75
2002-05-30Make sure that MS_STATIC isn't defined to 'static' under Win32.Richard Levitte
PR: 51
2002-04-06Oops, the system macro for VMS is OPENSSL_SYS_VMS, not VMSRichard Levitte
2002-04-06Use recv() and send() for socket communication on VMS instead of read()Richard Levitte
and write(). The reason is that read() and write() make additional record level locking which causes hangs of Compaq Secure Web Server (Apache) with SSL. Submitted by Compaq.
2002-02-14Add the configuration target VxWorks.Richard Levitte
2001-11-08Don't define _REENTRANT here in e_os.h. On systems where we needBodo Möller
_REENTRANT if threads support is enabled, the ./Configure entry must define it so that it ends up in CFLAG.
2001-08-25Wording of comment...Lutz Jänicke
2001-08-25Needed for build on SunOS 4.1.x with gcc (Jeffrey Hutzelman <jhutz@cmu.edu>).Lutz Jänicke
2001-07-02[Forgotten commits?]Richard Levitte
Changes to have OpenSSL compile on OS/2. Contributed by "Brian Havard" <brianh@kheldar.apana.org.au>
2001-05-03Some platforms (most notably Windows) do not have a $HOME by default.Richard Levitte
For those, unless the environment variables RANDFILE or HOME are defined (the default case!), RAND_file_name() will return NULL. This change adds a default HOME for those platforms. To add a default HOME for any platform, just define DEFAULT_HOME in the proper place, wrapped in appropriate #ifdef..#endif, in e_os.h.
2001-02-19Make all configuration macros available for application by makingRichard Levitte
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.