summaryrefslogtreecommitdiffstats
path: root/crypto/bio
AgeCommit message (Collapse)Author
2001-02-05Fix a memory leak in BIO_get_accept_socket(). This leak was small andRichard Levitte
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>
2001-02-04Make depend.Ben Laurie
2001-02-02Tidy up the mess in bss_sock.c and bss_fd.cDr. Stephen Henson
by placing them socket/fd code in separate files rather than trying to have them both share the same one.
2000-11-12in some new file names the first 8 characters were not uniqueUlf Möller
2000-10-22On some operating systems, MAX is defined. Call ours OSSL_MAX insteadRichard Levitte
2000-10-14The experimental Rijndael code moved to the main trunk.Richard Levitte
make update done.
2000-10-12Make non blocking I/O work for accept BIOs.Dr. Stephen Henson
2000-10-09BIO_sock_init() returns 1 for success and -1 for failure, not 0;Bodo Möller
thus the condition '!BIO_sock_init()' doesn't make sense.
2000-09-25'ranlib' doesn't always run on some systems. That's actuallyRichard Levitte
acceptable, since all that happens if it fails is a library with an index, which makes linking slower, but still working correctly.
2000-09-21Portability patch for HP MPE/iX. Submitted by Mark Bixby <mark_bixby@hp.com>Richard Levitte
2000-09-20On VMS, stdout may very well lead to a file that is written to in aRichard Levitte
record-oriented fashion. That means that every write() will write a separate record, which will be read separately by the programs trying to read from it. This can be very confusing. The solution is to put a BIO filter in the way that will buffer text until a linefeed is reached, and then write everything a line at a time, so every record written will be an actual line, not chunks of lines and not (usually doesn't happen, but I've seen it once) several lines in one record. Voila, BIO_f_linebuffer() is born. Since we're so close to release time, I'm making this VMS-only for now, just to make sure no code is needlessly broken by this. After the release, this BIO method will be enabled on all other platforms as well.
2000-09-17Rename new BIO_set_shutdown_wr macro to just BIO_shutdown_wrBodo Möller
(it's similar to the shutdown(..., SHUT_WR) system call for sockets).
2000-09-16New macro BIO_set_shutdown_wr().Dr. Stephen Henson
Update docs.
2000-09-09More VMS synchronisationRichard Levitte
2000-09-07Ugh, BIO_find_type() cannot be passed a NULL.Dr. Stephen Henson
Fix doc example, and fix BIO_find_type(). Fix PKCS7_verify(). It was using 'i' for both the loop variable and the verify return value.
2000-09-07Add docs for BIO_find_type() and friends.Dr. Stephen Henson
Added function BIO_next() otherwise you can't traverse a chain without accessing BIO internals.
2000-09-07'make update'Richard Levitte
2000-09-07Change the printing mahine used by BIO_printf() and friends so it canRichard Levitte
handle an externally provided "static" buffer as well a a dynamic buffer. The "static" buffer is filled first, but if overflowed, the dynamic buffer is used instead, being allocated somewhere i the heap. This combines the benefits of putting the output in a preallocated buffer (on the stack, for example) and in a buffer that grows somewhere in the heap.
2000-09-05Increase print buffer (10K instead of just 2K).Bodo Möller
2000-09-05Remove silly test for b->references at the end of BIO_write:Bodo Möller
If some other thread deletes the BIO that one thread needs for BIO_write, then there's a lot of trouble anyway; there's nothing special about calling the callback.
2000-09-04ConsistencyBodo Möller
2000-09-04Use consistent indentation,Bodo Möller
2000-09-04Avoid abort() throughout the library, except when preprocessorBodo Möller
symbols for debugging are defined.
2000-09-01Undo change from 1.7 to 1.8:Bodo Möller
Returning -1 for an attempt to read from an empty buffer is empty is not an error that should be signalled via the error queue, it's a 'retry read' condition and is signalled as such.
2000-09-01Use C syntax, not FORTRAN or whatever that was :-)Bodo Möller
2000-08-30Fix typo in i2d_ASN1_ENUMERATEDDr. Stephen Henson
Fix bug in read only memory BIOs so BIO_reset() works. Add sign and verify options to dgst utility, need to update docs.
2000-08-28Diagnose EOF on memory BIOs (or you just get mysterious errors with no errorBen Laurie
message).
2000-08-18Added BIO_vprintf() and BIO_vsnprintf(). The former because I'veRichard Levitte
found myself needing it a number of times, the latter for completeness.
2000-08-17Add more diversity to the possible log levels. Now we have fullRichard Levitte
coverage for all syslog level.
2000-08-14MD4 implemented. Assar Westerlund provided the digest code itself and the ↵Richard Levitte
test utility, I added the bits to get a EVP interface, the command line utility and the speed test
2000-08-03On Unicos, openlog() isn't constified, so let's not do that in xopenlog()Richard Levitte
2000-08-02*mumble* unicos 10.0.0.3 with Cray Standard C Version 6.2.0.0 has a syslog.hRichard Levitte
where the openlog() is declared like this: extern int openlog __((char *_Ident, int _Logopt, int _Facility));
2000-07-31If a ip address is successfully parsed, the WSA structure under Win32 wasn'tRichard Levitte
properly initialised. Fixed. Bug reported by DeJuan Jackson <djackson@inverge.com>
2000-07-27Add the possibility to get hexdumps of unprintable data when usingRichard Levitte
'openssl asn1parse'. As a side effect, the functions ASN1_parse_dump and BIO_dump_indent are added.
2000-07-05I got sick and tired of having to keep track of NIDs when such a thingRichard Levitte
could be done automagically, much like the numbering in libeay.num and ssleay.num. The solution works as follows: - New object identifiers are inserted in objects.txt, following the syntax given in objects.README. - objects.pl is used to process obj_mac.num and create a new obj_mac.h. - obj_dat.pl is used to create a new obj_dat.h, using the data in obj_mac.h. This is currently kind of a hack, and the perl code in objects.pl isn't very elegant, but it works as I intended. The simplest way to check that it worked correctly is to look in obj_dat.h and check the array nid_objs and make sure the objects haven't moved around (this is important!). Additions are OK, as well as consistent name changes.
2000-06-21Fixes for Win32 build.Dr. Stephen Henson
This is mostly a work around for the old VC++ problem that it treats func() as func(void). Various prototypes had been added to 'compare' function pointers that triggered this. This could be fixed by removing the prototype, adding function pointer casts to every call or changing the passed function to use the expected arguments. I mostly did the latter. The mkdef.pl script was modified to remove the typesafe functions which no longer exist. Oh and some functions called OPENSSL_freeLibrary() were changed back to FreeLibrary(), wonder how that happened :-)
2000-06-16Safe stack reorganisation in terms of function casts.Dr. Stephen Henson
After some messing around this seems to work but needs a few more tests. Working out the syntax for sk_set_cmp_func() (cast it to a function that itself returns a function pointer) was painful :-( Needs some testing to see what other compilers think of this syntax. Also needs similar stuff for ASN1_SET_OF etc etc.
2000-06-16Change to have a single library that works on both Win9x and WinNT.Richard Levitte
As far as I understand, it still needs to be compiled on NT... Contributed by Arne Ansper <arne@ats.cyber.ee>
2000-06-13Enable DSO support on alpha (OSF1), cc and gcc.Geoff Thorpe
Also, "make update" has added some missing functions to libeay.num, updated the TABLE for the alpha changes, and updated thousands of dependancies that have changed from recent commits.
2000-06-01There have been a number of complaints from a number of sources that namesRichard Levitte
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.
2000-06-01Don't include <stdlib.h>. In the NO_FP_API case, don't include <stdio.h>.Ulf Möller
2000-06-01"make update" + stripping the type-specific stack functions out ofGeoff Thorpe
libeay.num and ssleay.num.
2000-05-16Typesafe Thought Police part 4.Ben Laurie
2000-05-15Get rid of more non-ANSI declarations.Ulf Möller
2000-05-02In Message-ID: <003201bfb332$14a07520$0801a8c0@janm.transactionsite.com>,Richard Levitte
"Jan Mikkelsen" <janm@transactionsite.com> correctly states that the OpenSSL header files have #include's and extern "C"'s in an incorrect order. Thusly fixed.
2000-04-14New function ERR_error_string_n.Bodo Möller
2000-03-17Bugs correctedRichard Levitte
2000-03-14Typos corrected.Richard Levitte
2000-03-14Target added.Richard Levitte
2000-03-14Bugs corrected, and a couple of include files to get declarations forRichard Levitte
lib$-functions and sys$-functions.