Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Ensure buffer in bio_writer_t is properly increased | Tobias Brunner | 2013-06-11 | 1 | -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 bytes | Tobias Brunner | 2012-08-08 | 1 | -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 buffer | Tobias Brunner | 2012-08-08 | 1 | -0/+13 |
| | |||||
* | extended bio_reader and bio_writer to handle u_int64_t | Andreas Steffen | 2011-11-28 | 1 | -0/+12 |
| | |||||
* | renamed tls_reader|writer to bio_* and moved to libstrongswan | Andreas Steffen | 2011-05-31 | 1 | -39/+39 |
| | |||||
* | fixed type | Andreas Steffen | 2011-05-31 | 1 | -0/+237 |