aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/bio/bio_lib.c
Commit message (Collapse)AuthorAgeFilesLines
* Make the necessary changes to work with the recent "ex_data" overhaul.Geoff Thorpe2001-09-011-10/+10
| | | | | | | | | | | See the commit log message for that for more information. NB: X509_STORE_CTX's use of "ex_data" support was actually misimplemented (initialisation by "memset" won't/can't/doesn't work). This fixes that but requires that X509_STORE_CTX_init() be able to handle errors - so its prototype has been changed to return 'int' rather than 'void'. All uses of that function throughout the source code have been tracked down and adjusted.
* The indexes returned by ***_get_ex_new_index() functions are used whenGeoff Thorpe2001-08-121-3/+4
| | | | | | | | setting stack (actually, array) values in ex_data. So only increment the global counters if the underlying CRYPTO_get_ex_new_index() call succeeds. This change doesn't make "ex_data" right (see the comment at the head of ex_data.c to know why), but at least makes the source code marginally less frustrating.
* Ugh, BIO_find_type() cannot be passed a NULL.Dr. Stephen Henson2000-09-071-0/+1
| | | | | | | 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.
* Add docs for BIO_find_type() and friends.Dr. Stephen Henson2000-09-071-0/+6
| | | | | Added function BIO_next() otherwise you can't traverse a chain without accessing BIO internals.
* Remove silly test for b->references at the end of BIO_write:Bodo Möller2000-09-051-9/+3
| | | | | | 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.
* Avoid abort() throughout the library, except when preprocessorBodo Möller2000-09-041-0/+2
| | | | symbols for debugging are defined.
* There have been a number of complaints from a number of sources that namesRichard Levitte2000-06-011-3/+3
| | | | | | | | | 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.
* Typesafe Thought Police part 4.Ben Laurie2000-05-161-0/+5
|
* Get rid of more non-ANSI declarations.Ulf Möller2000-05-151-1/+1
|
* 'rand' application for creating pseudo-random files.Bodo Möller2000-02-291-1/+1
|
* Move the registration of callback functions to special functionsRichard Levitte2000-02-201-2/+29
| | | | | | | | | | designed for that. This removes the potential error to mix data and function pointers. Please note that I'm a little unsure how incorrect calls to the old ctrl functions should be handled, in som cases. I currently return 0 and that's it, but it may be more correct to generate a genuine error in those cases.
* Tidy up CRYPTO_EX_DATA structures.Dr. Stephen Henson2000-01-231-7/+7
|
* Add -prexit command to s_client and patch some BIODr. Stephen Henson2000-01-081-0/+11
| | | | functions so it doesn't crash. Document s_client.
* BIO pairs.Bodo Möller1999-06-121-1/+15
|
* Don't mix real tabs with tabs expanded as 8 spaces -- that'sBodo Möller1999-06-071-9/+9
| | | | a pain to read when using 4-space tabs.
* Change #include filenames from <foo.h> to <openssl.h>.Bodo Möller1999-04-231-3/+3
| | | | | | Submitted by: Reviewed by: PR:
* Work with -pedantic!Ben Laurie1999-04-231-1/+1
|
* Change functions to ANSI C.Ulf Möller1999-04-191-67/+22
|
* Fix typos in error codes.Ulf Möller1999-04-191-4/+4
|
* Massive constification.Ben Laurie1999-04-171-2/+2
|
* Import of old SSLeay release: SSLeay 0.9.1b (unreleased)Ralf S. Engelschall1998-12-211-1/+9
|
* Import of old SSLeay release: SSLeay 0.9.0bRalf S. Engelschall1998-12-211-25/+97
|
* Import of old SSLeay release: SSLeay 0.8.1bRalf S. Engelschall1998-12-211-0/+447