<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libssl/tls13_buffer.c, branch OPENBSD_6_8_BASE</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_6_8_BASE</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_6_8_BASE'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2020-03-10T17:11:25+00:00</updated>
<entry>
<title>Add a return value check to tls13_buffer_extend().</title>
<updated>2020-03-10T17:11:25+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2020-03-10T17:11:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=76ffd547d39ae8e7e343710553d13ff568e7d3ef'/>
<id>urn:sha1:76ffd547d39ae8e7e343710553d13ff568e7d3ef</id>
<content type='text'>
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-&gt;len beyond capacity. Check the return value from the read callback to
prevent this.

ok inoguchi@ tb@
</content>
</entry>
<entry>
<title>Add accessors to change the buffer in a handshake message.</title>
<updated>2019-11-20T16:21:20+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2019-11-20T16:21:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c8e4e0dd743890730bad0c188b6c3c8f875e4f34'/>
<id>urn:sha1:c8e4e0dd743890730bad0c188b6c3c8f875e4f34</id>
<content type='text'>
Needed for doing TLS 1.3 Post Handshake Handshake messages.

ok jsing@
</content>
</entry>
<entry>
<title>Provide an extensible buffer implementation that uses a read callback.</title>
<updated>2019-01-17T06:32:12+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2019-01-17T06:32:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=dfcb2879ed4cb98147d3c6bcf56f7e6da34adacb'/>
<id>urn:sha1:dfcb2879ed4cb98147d3c6bcf56f7e6da34adacb</id>
<content type='text'>
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@
</content>
</entry>
</feed>
