Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add a return value check to tls13_buffer_extend(). | jsing | 2020-03-10 | 1 | -1/+4 |
| | | | | | | | | | In the unlikely event that the return value from the read callback is larger than the number of bytes we asked for, we can end up incrementing buf->len beyond capacity. Check the return value from the read callback to prevent this. ok inoguchi@ tb@ | ||||
* | Add accessors to change the buffer in a handshake message. | beck | 2019-11-20 | 1 | -1/+10 |
| | | | | | | Needed for doing TLS 1.3 Post Handshake Handshake messages. ok jsing@ | ||||
* | Provide an extensible buffer implementation that uses a read callback. | jsing | 2019-01-17 | 1 | -0/+125 |
The read callback returns a TLS13_IO_* value on EOF, failure, want pollin or want pollout, or a positive value indicating the number of bytes read. This will be used by upcoming TLSv1.3 handshake message and record processing code, both of which need the ability to read a fixed size header, before extending the buffer to the number of bytes specified in the header. ok beck@ tb@ |