summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bio/bio_local.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove BIO_{sn,v,vsn}printf(3)tb2024-03-021-1/+5
| | | | | | | Unsued printing functionality. If something should need this we can readily add it back. ok jsing
* Revert bio_prev removaltb2022-12-021-1/+2
| | | | | | | | | As schwarze points out, you can pop any BIO in a chain, not just the first one (bonus points for a great name for this API). The internal doubly linked was used to fix up the BIO chain bio was part of when you BIO_pop() a bio that wasn't in the first position, which is explicitly allowed in our documentation and implied by OpenSSL's.
* Retire prev_biotb2022-11-281-2/+1
| | | | | | | | | | | | | While BIO chains are doubly linked lists, nothing has ever made use of this fact internally. Even libssl has failed to maintain prev_bio properly in two places for a long time. When BIO was made opaque, the opportunity to fix that was missed. Instead, BIO_set_next() now allows breaking the lists from outside the library, which freerdp has long done. Problem found by schwarze while trying to document BIO_set_next(). schwarze likes the idea ok jsing
* Implement new-style OpenSSL BIO callbackstb2022-01-141-4/+4
| | | | | | | | | | This provides support for new-style BIO callbacks in BIO_{read,write,gets,puts}() and a helper function to work out whether it should call the new or the old style callback. It also adds a few typedefs and minor code cleanup as well as the BIO_{get,set}_callback_ex() from jsing, ok tb
* Make structs in bio.h opaquetb2022-01-141-1/+58
| | | | | | | Move BIO, BIO_METHOD and BIO_F_BUFFER_CTX to bio_local.h and provide BIO typedef in ossl_typ.h. ok inoguchi jsing
* Add a new, mostly empty, bio_local.h and include it in the filestb2022-01-071-0/+66
that will need it in the upcoming bump. discussed with jsing