summaryrefslogtreecommitdiffstats
path: root/e_os.h
AgeCommit message (Collapse)Author
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
1999-05-21Move the Win32 #undefs of X509_NAME and PKCS7_ISSUER_AND_SERIAL so they willDr. Stephen Henson
always get included with the relevant files.
1999-05-21Older versions of SINIX C development system inherited a bug fromBodo Möller
SGI' cc; enable workaround. Submitted by: Martin Kraemer
1999-05-20Don't install e_os.h in include/openssl, use it only as a localBodo Möller
include file.
1999-05-15e_os2.h is used for things that must be visible when external applicationsBodo Möller
use (certain parts of) OpenSSL.
1999-05-13VMS support.Ulf Möller
Submitted by: Richard Levitte <richard@levitte.org>
1999-05-12Add new -out option to asn1parse to allow the parsed data to be output.Dr. Stephen Henson
Fixed -strparse option: it didn't work if used more than once (this was due to the d2i_ASN1_TYPE call parsing a freed buffer). On Win32 the file wincrypt.h #define's X509_NAME and PKCS7_SIGNER_INFO causing clashes so these are #undef'ed
1999-05-06Support additional Win32 compilers.Ulf Möller
Borland C submitted by: Janez Jere <jj@void.si>
1999-04-26Remove NOPROTO-related macros.Ulf Möller
1999-04-26Remove NOPROTO definitions and error code comments.Ulf Möller