aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/bio/bio_writer.c
Commit message (Collapse)AuthorAgeFilesLines
* Ensure buffer in bio_writer_t is properly increasedTobias Brunner2013-06-111-49/+29
| | | | | | | The previous code was problematic if bufsize/increase was smaller than 8 and an u_int64_t was written when the buffer was too small. Also, for large chunks and small bufsizes realloc() was called several times instead of just once.
* Added a method to bio_writer_t that allows to skip a number of bytesTobias Brunner2012-08-081-0/+15
| | | | | A chunk pointing to the skipped bytes is returned, allowing users of bio_writer_t to write/copy data to the skipped bytes themselves.
* Added a method to bio_writer_t that allows to extract the internal bufferTobias Brunner2012-08-081-0/+13
|
* extended bio_reader and bio_writer to handle u_int64_tAndreas Steffen2011-11-281-0/+12
|
* renamed tls_reader|writer to bio_* and moved to libstrongswanAndreas Steffen2011-05-311-39/+39
|
* fixed typeAndreas Steffen2011-05-311-0/+237