summaryrefslogtreecommitdiffstats
path: root/e_os.h
AgeCommit message (Collapse)Author
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.
2001-02-07Change preferences for sockets of EGD-style entropy daemons to a moreLutz Jänicke
reasonable selection.
2001-01-09Add automatic query of EGD sockets to RAND_poll(). The EGD sockets areLutz Jänicke
only queried when the /dev/[u]random devices did not return enough entropy. Only the amount of entropy missing to reach the required minimum is queried, as EGD may be drained. Queried locations are: /etc/entropy, /var/run/egd-pool
2001-01-08Because /dev/urandom has a better chance of giving us a good andRichard Levitte
quick answer, take that one first.
2001-01-08Change RAND_poll for Unix to try a number of devices and only readRichard Levitte
them for a short period of time (actually, poll them with select(), then read() whatever is there), which is about 10ms (hard-coded value) each. Separate Windows and Unixly code, and start on a VMS variant that currently just returns 0.
2000-10-01Remove what was described by someone as "an EAY hack for compilingRichard Levitte
SSLeay with Colin Plumb's MD5 implementation instead of his one".
2000-09-29Include arpa/inet.h, since that's where htons() and friends areRichard Levitte
supposed to be defined according to XPG4.2. Found by Evan <n2xjk@ulster.net> for the MVS platform.
2000-09-21Portability patch for HP MPE/iX. Submitted by Mark Bixby <mark_bixby@hp.com>Richard Levitte
2000-09-14Add a configuration for Sony News 4.Richard Levitte
Submitted by NAKAJI Hiroyuki <nakaji@tutrp.tut.ac.jp>
2000-09-01QNX 4 support.Bodo Möller
2000-06-09Comment about bcopy on SunOS 4.x.Bodo Möller
2000-06-08Another attempt to allow compiling on SunOS 4.*.Bodo Möller
2000-06-04Typo...Richard Levitte
2000-06-03CygWin32 support.Ulf Möller
Submitted by: John Jarvie <jjarvie@newsguy.com>
2000-05-31strtoul is not used anywhere.Bodo Möller
2000-05-31When compiling with /opt/SUNWspro/SC4.2/bin/cc on Solaris, __svr4__ isBodo Möller
not defined, but __SVR4 is.
2000-05-19Add a couple of macros that make OpenSSL compilable on SunOS 4.1.4.Richard Levitte
Contributed by SAKAI Kiyotaka <ksakai@kso.netwk.ntt-at.co.jp>
2000-05-15MacOS changes.Ulf Möller
2000-03-23ssize_t for UltrixUlf Möller
2000-03-20Problems with the Windows build.Ulf Möller
2000-03-18e_os.h: don't do double work with status codes.Richard Levitte
openssl.c: make damn sure e_os.h knows about OPENSSL_C
2000-03-17The previous exit code handling was completely bogus for VMS.Richard Levitte
2000-03-11On NeXT, ssize_t is int, not long (see <sys/types.h> -- the definitionBodo Möller
is activated only when _POSIX_SOURCE is defined).
2000-03-10ssize_tUlf Möller
2000-03-07{NEXT,OPEN}STEP don't have pid_t.Bodo Möller
2000-03-02It started with finding a misplaced #endif. Then I wanted to see theRichard Levitte
structure better. I hope noone minds, and that it still works. Steve?
2000-01-20WINDOWS is defined in e_os.h. The problem was WIN32 (the new egcs uses _WIN32).Ulf Möller
2000-01-16remove debug modification that I checked in accidentallyUlf Möller
2000-01-16New function RAND_pseudo_bytes() generated pseudorandom numbers thatUlf Möller
are not guaranteed to be unpredictable.
1999-12-26MacOS updates. Initial support for GUSI (MacOS socket implementation)Andy Polyakov
is added.
1999-12-19Even more late break-in MacOS tidbits...Andy Polyakov
1999-12-19Late break-in patch for MacOS support.Andy Polyakov
1999-12-19MacOS updates.Andy Polyakov
1999-10-26Make md_rand.c more robust.Bodo Möller
1999-10-25Update Borland C++ builder support.Bodo Möller
Submitted by: Janez Jere <jj@void.si>
1999-09-11Initial support for MacOS.Andy Polyakov
This will soon be complemented with MacOS specific source code files and INSTALL.MacOS. I (Andy) have decided to get rid of a number of #include <sys/types.h>. I've verified it's ok (both by examining /usr/include/*.h and compiling) on a number of Unix platforms. Unfortunately I don't have Windows box to verify this on. I really appreciate if somebody could try to compile it and contact me a.s.a.p. in case a problem occurs. Submitted by: Roy Wood <roy@centricsystems.ca> Reviewed by: Andy Polyakov <appro@fy.chalmers.se>
1999-09-03Use closesocket macro consistently, not close directly, for easierBodo Möller
portability. Submitted by: Lennart Bång
1999-06-10Another <unistd.h> ...Bodo Möller