summaryrefslogtreecommitdiffstats
path: root/crypto/bio/bio.h
Commit message (Collapse)AuthorAgeFilesLines
* Re-align some comments after running the reformat script.OpenSSL_0_9_8-post-reformatMatt Caswell2015-01-221-9/+9
| | | | | | | | | This should be a one off operation (subsequent invokation of the script should not move them) This commit is for the 0.9.8 changes Reviewed-by: Tim Hudson <tjh@openssl.org>
* Run util/openssl-format-source -v -c .Matt Caswell2015-01-221-542/+559
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* mark all block comments that need format preserving so thatTim Hudson2015-01-221-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* PR: 2755Dr. Stephen Henson2012-03-071-0/+1
| | | | | | Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de> Reduce MTU after failed transmissions. [0.9.8 version of patch]
* revert PR#2755: it breaks compilationDr. Stephen Henson2012-03-061-1/+0
|
* PR: 2755Dr. Stephen Henson2012-03-061-0/+1
| | | | | | Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de> Reduce MTU after failed transmissions.
* Fix BIO_f_buffer().Bodo Möller2011-12-021-0/+9
| | | | | Submitted by: Adam Langley Reviewed by: Bodo Moeller
* PR: 2028Dr. Stephen Henson2009-09-041-0/+3
| | | | | | | Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de> Approved by: steve@openssl.org Fix DTLS cookie management bugs.
* PR: 1989Dr. Stephen Henson2009-07-241-1/+1
| | | | | | | Submitted by: Viktor Szakáts <harbour.01@syenar.hu> Approved by: steve@openssl.org Too few arguments in definition of BIO_get_cont_int_port macro.
* Fix from HEAD.Dr. Stephen Henson2009-06-251-1/+1
|
* Updates from 1.0.0-stable.Dr. Stephen Henson2009-05-161-1/+2
|
* PR: 1829Dr. Stephen Henson2009-04-141-0/+1
| | | | | | | Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de> Approved by: steve@openssl.org DTLS timer bug fix from 1.0.0-stable with fixes.
* Ooops, revert patch... due to non-portable gettimeofday call.Dr. Stephen Henson2009-04-021-1/+0
|
* PR: 1829Dr. Stephen Henson2009-04-021-0/+1
| | | | | | | Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de> Approved by: steve@openssl.org DTLS timer bug fix.
* Backport of zlib compression BIO from HEAD. Update mkdef.pl script to handleDr. Stephen Henson2008-04-021-0/+1
| | | | ZLIB. Update ordinals.
* Remove excessive whitespaces from bio.h.Andy Polyakov2007-09-181-8/+8
|
* Add hmac option to dgst from 0.9.7-stable.Dr. Stephen Henson2007-02-081-0/+1
|
* replace macros with functionsNils Larsch2006-11-291-20/+24
| | | | Submitted by: Tracy Camp <tracyx.e.camp@intel.com>
* bio.h update from HEAD.Andy Polyakov2005-12-161-6/+9
| | | | PR: 1252
* OPENSSL_Applink update.Andy Polyakov2005-05-171-0/+5
|
* Fix various incorrect error function codes.Bodo Möller2005-04-261-0/+1
| | | | ("perl util/ck_errf.pl */*.c */*/*.c" still reports many more.)
* Add DTLS support.Ben Laurie2005-04-261-0/+52
|
* Basically, I wanted to be able to make a dump to a FILE*, and not haveRichard Levitte2004-08-111-1/+8
| | | | | | | to bother creating a BIO around it. So here's a few more functions to make it possible to make the dump using a printing callback, and to print to a FILE* (based on the callback variant), done in the same style as the functions in crypto/err/err_prn.c.
* Add GCC attributes when compiled with gcc. This helps find out ifRichard Levitte2003-04-031-4/+11
| | | | | | | we're using the printing functions correctly or not. I used the corresponding attributes found in the header files of my Linux installation.
* Make sure we get the definition of OPENSSL_NO_FP_API.Richard Levitte2003-03-201-1/+2
|
* typo in WIN16 sectionBodo Möller2003-02-051-1/+1
| | | | Submitted by: Toni Andjelkovic <toni@soth.at>
* We can't say in advance what the argument to BIO_socket_ioctl() should be, soRichard Levitte2003-01-311-1/+1
| | | | | | let's make that a void *. Also, BIO_socket_nbio() should send it an int argument, not a long. PR: 457
* Security fixes brought forward from 0.9.7.Ben Laurie2002-11-131-1/+2
|
* Add support for shared libraries with OS/2.Richard Levitte2002-07-171-0/+2
| | | | PR: 124
* Handle read errors.Ben Laurie2002-06-111-0/+1
|
* fix formatting of automatically generated error sectionBodo Möller2002-01-241-0/+1
|
* Make no config file not an error. Move /dev/crypto config to ctrl.Ben Laurie2002-01-221-1/+1
|
* Fix incorrect BIO_*_ctrl() macros (Shay Harding <sharding@ccbill.com>).Lutz Jänicke2002-01-211-2/+2
|
* Prototype info function.Ben Laurie2002-01-121-2/+3
|
* remove redundant ERR_load_... declarationsBodo Möller2001-12-171-2/+0
|
* make updateRichard Levitte2001-11-151-1/+1
| | | | perl util/mkerr.pl -recurse -write -rebuild
* Bugfixes provided by "Stephen Hinton" <shinton@netopia.com>.Lutz Jänicke2001-08-161-1/+1
|
* Make all configuration macros available for application by makingRichard Levitte2001-02-191-6/+7
| | | | | | | | | | | | 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.
* Make non blocking I/O work for accept BIOs.Dr. Stephen Henson2000-10-121-1/+3
|
* On VMS, stdout may very well lead to a file that is written to in aRichard Levitte2000-09-201-0/+5
| | | | | | | | | | | | | | | | | 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.
* Rename new BIO_set_shutdown_wr macro to just BIO_shutdown_wrBodo Möller2000-09-171-1/+1
| | | | | (it's similar to the shutdown(..., SHUT_WR) system call for sockets).
* New macro BIO_set_shutdown_wr().Dr. Stephen Henson2000-09-161-0/+1
| | | | Update docs.
* Add docs for BIO_find_type() and friends.Dr. Stephen Henson2000-09-071-0/+1
| | | | | Added function BIO_next() otherwise you can't traverse a chain without accessing BIO internals.
* Diagnose EOF on memory BIOs (or you just get mysterious errors with no errorBen Laurie2000-08-281-0/+2
| | | | message).
* Added BIO_vprintf() and BIO_vsnprintf(). The former because I'veRichard Levitte2000-08-181-0/+3
| | | | found myself needing it a number of times, the latter for completeness.
* Add the possibility to get hexdumps of unprintable data when usingRichard Levitte2000-07-271-0/+1
| | | | | 'openssl asn1parse'. As a side effect, the functions ASN1_parse_dump and BIO_dump_indent are added.
* Fixes for Win32 build.Dr. Stephen Henson2000-06-211-3/+5
| | | | | | | | | | | | | | | | | 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 :-)
* Safe stack reorganisation in terms of function casts.Dr. Stephen Henson2000-06-161-31/+0
| | | | | | | | | | | | 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.
* Don't include <stdlib.h>. In the NO_FP_API case, don't include <stdio.h>.Ulf Möller2000-06-011-7/+6
|
* "make update" + stripping the type-specific stack functions out ofGeoff Thorpe2000-06-011-0/+31
| | | | libeay.num and ssleay.num.