<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libssl, branch libressl-v3.3.0</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=libressl-v3.3.0</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=libressl-v3.3.0'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2020-11-20T08:08:02+00:00</updated>
<entry>
<title>fix another misleading line break and indent</title>
<updated>2020-11-20T08:08:02+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2020-11-20T08:08:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=0068cc3650e1a212d865b7843ac3d0f02acce643'/>
<id>urn:sha1:0068cc3650e1a212d865b7843ac3d0f02acce643</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix confusing line break and indent</title>
<updated>2020-11-20T08:03:53+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2020-11-20T08:03:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=57ee25f03699dffb7ef2796fd99109733617f757'/>
<id>urn:sha1:57ee25f03699dffb7ef2796fd99109733617f757</id>
<content type='text'>
</content>
</entry>
<entry>
<title>typo &amp; punctuation in comment</title>
<updated>2020-11-17T07:02:30+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2020-11-17T07:02:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=774388b1d62441f5f00ea24f86e824a2a113c79a'/>
<id>urn:sha1:774388b1d62441f5f00ea24f86e824a2a113c79a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Implement exporter for TLSv1.3.</title>
<updated>2020-11-16T18:55:15+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2020-11-16T18:55:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=97a181ebd909bb90e14296e0f9b4e74645c26398'/>
<id>urn:sha1:97a181ebd909bb90e14296e0f9b4e74645c26398</id>
<content type='text'>
This implements the key material exporter for TLSv1.3, as defined in
RFC8446 section 7.5.

Issue reported by nmathewson on github.

ok inoguchi@ tb@
</content>
</entry>
<entry>
<title>Implement auto chain for the TLSv1.3 server.</title>
<updated>2020-11-11T18:20:10+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2020-11-11T18:20:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=5bc4eba7ef5295b28908fc64844ded7577e36d50'/>
<id>urn:sha1:5bc4eba7ef5295b28908fc64844ded7577e36d50</id>
<content type='text'>
Apparently OpenLDAP relies on this craziness to provide intermediates,
rather than specifying the chain directly like a normal TLS server would.

Issue noted by sthen@ and Bernard Spil, who both also tested this diff.

ok tb@
</content>
</entry>
<entry>
<title>Use size_t for key_block_len.</title>
<updated>2020-11-11T18:14:12+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2020-11-11T18:14:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=6872c16fec8622b4dc934604415b6d1b065724fb'/>
<id>urn:sha1:6872c16fec8622b4dc934604415b6d1b065724fb</id>
<content type='text'>
This allows us to remove a check and will make future changes simpler. Use
suitable names for tls1_generate_key_block() arguments while here.

ok inoguchi@ tb@
</content>
</entry>
<entry>
<title>Only check BIO_should_read() on read and BIO_should_write() on write.</title>
<updated>2020-11-03T17:41:39+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2020-11-03T17:41:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=6ab2d3e333f5e920dc9fb098a4969d5a4f151221'/>
<id>urn:sha1:6ab2d3e333f5e920dc9fb098a4969d5a4f151221</id>
<content type='text'>
The TLSv1.3 code that drives a BIO currently checks BIO_should_read()
after BIO_write() and BIO_should_write() after BIO_read(), which was
modelled on SSL_get_error(). However, there are certain cases where
this can confuse the caller - primarily where the same BIO is being
used for both read and write and the caller is manipulating the retry
flags. SSL_get_error() tends avoids this issue by relying on another
layer of state tracking.

Unfortunately haproxy hits this situation - it has its own BIO_METHOD,
the same BIO is used for both read and write and it manipulates the
retry flags - resulting in it stalling.

Issued noted by Thorsten Lockert &lt;tholo@tzecmaun.org&gt;

ok beck@ tb@
</content>
</entry>
<entry>
<title>Unbreak DTLS retransmissions for flights that include a CCS.</title>
<updated>2020-10-15T18:00:31+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2020-10-15T18:00:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=10a633c690c77f9328a92e7d52d942bfc3fd07d5'/>
<id>urn:sha1:10a633c690c77f9328a92e7d52d942bfc3fd07d5</id>
<content type='text'>
When retransmitting a flight that includes a CCS, the record protection
from the previous epoch has to be used to send the messages up to and
including the CCS, with messages after the CCS using record protection
from the current epoch. The code that restores the record protection state
failed to work correctly with the new TLSv1.2 record layer.

ok tb@
</content>
</entry>
<entry>
<title>zap annoying stray spaces</title>
<updated>2020-10-15T07:07:09+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2020-10-15T07:07:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c85acb175bd399bdafea6551900f83fd6334405a'/>
<id>urn:sha1:c85acb175bd399bdafea6551900f83fd6334405a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replace SSL_IS_DTLS with SSL_is_dtls().</title>
<updated>2020-10-14T16:57:33+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2020-10-14T16:57:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=8ffcb0167d4ed2b22d2f40362b1686eb7a98f30a'/>
<id>urn:sha1:8ffcb0167d4ed2b22d2f40362b1686eb7a98f30a</id>
<content type='text'>
Garbage collect the now unused SSL_IS_DTLS macro.

ok tb@
</content>
</entry>
</feed>
