<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libtls/tls.c, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libtls/tls.c?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libtls/tls.c?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2020-05-24T15:12:54Z</updated>
<entry>
<title>Clear SSL_MODE_AUTO_RETRY in libtls, since we handle WANT_POLLIN correctly.</title>
<updated>2020-05-24T15:12:54Z</updated>
<author>
<name>jsing</name>
<email>jsing@openbsd.org</email>
</author>
<published>2020-05-24T15:12:54Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=3c640480539951042108a0301e1d64aba8396de3'/>
<id>urn:sha1:3c640480539951042108a0301e1d64aba8396de3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add support for TLSv1.3 as a protocol to libtls.</title>
<updated>2020-01-20T08:39:21Z</updated>
<author>
<name>jsing</name>
<email>jsing@openbsd.org</email>
</author>
<published>2020-01-20T08:39:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=4c47943547690ae663117419af1d1408754483fd'/>
<id>urn:sha1:4c47943547690ae663117419af1d1408754483fd</id>
<content type='text'>
This makes tls_config_parse_protocols() recognise and handle "tlsv1.3".
If TLSv1.3 is enabled libtls will also request libssl to enable it.

ok beck@ tb@
</content>
</entry>
<entry>
<title>Add a mutex to guard reference counting for tls_config.</title>
<updated>2019-04-01T15:58:02Z</updated>
<author>
<name>jsing</name>
<email>jsing@openbsd.org</email>
</author>
<published>2019-04-01T15:58:02Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=bebb943a196415fbcce9ded465749b2710c53245'/>
<id>urn:sha1:bebb943a196415fbcce9ded465749b2710c53245</id>
<content type='text'>
This makes libtls more friendly for multithreaded use - otherwise we can
end up with incorrect refcounts and end up freeing when we should not be
(or not freeing when we should be).

ok beck@
</content>
</entry>
<entry>
<title>expose the default cert file as a function, not a define. it's really</title>
<updated>2018-11-29T14:24:23Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2018-11-29T14:24:23Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=f6b75673f6c960a9743bfd16c1e52dd100265c68'/>
<id>urn:sha1:f6b75673f6c960a9743bfd16c1e52dd100265c68</id>
<content type='text'>
an internal detail of the library, so the string should live inside it,
not in the application code.
ok jsing
</content>
</entry>
<entry>
<title>Define TLS_CA_CERT_FILE rather than having every application create their</title>
<updated>2018-11-06T20:34:54Z</updated>
<author>
<name>jsing</name>
<email>jsing@openbsd.org</email>
</author>
<published>2018-11-06T20:34:54Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=44f35d7b2039ec18149e46a4da8db4c146219c2f'/>
<id>urn:sha1:44f35d7b2039ec18149e46a4da8db4c146219c2f</id>
<content type='text'>
own define for /etc/ssl/cert.pem.

ok beck@ bluhm@ tb@
</content>
</entry>
<entry>
<title>Switch to OPENSSL_init_ssl() and prevent an openssl configuration file from</title>
<updated>2018-04-07T16:30:59Z</updated>
<author>
<name>jsing</name>
<email>jsing@openbsd.org</email>
</author>
<published>2018-04-07T16:30:59Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c650228d5d914b0377b2a477213f1ee1978a9679'/>
<id>urn:sha1:c650228d5d914b0377b2a477213f1ee1978a9679</id>
<content type='text'>
being loaded behind our back, at a later point.

ok beck@
</content>
</entry>
<entry>
<title>Automatically handle library initialisation for libtls.</title>
<updated>2018-03-19T16:34:47Z</updated>
<author>
<name>jsing</name>
<email>jsing@openbsd.org</email>
</author>
<published>2018-03-19T16:34:47Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b9573a74af9f34d4eb2bda625e3f663704431e4b'/>
<id>urn:sha1:b9573a74af9f34d4eb2bda625e3f663704431e4b</id>
<content type='text'>
Now that we have tls_init() under pthread_once(), automatically initialise
libtls from the entry point functions (tls_config(), tls_client() and
tls_server()) - this makes an explicit tls_init() call no longer a
requirement.

ok bcook@ beck@ inoguchi@
</content>
</entry>
<entry>
<title>un-revert tls_init pthread_once change, now that stub is added so that builds work</title>
<updated>2018-03-08T16:12:00Z</updated>
<author>
<name>beck</name>
<email>beck@openbsd.org</email>
</author>
<published>2018-03-08T16:12:00Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c029eb3257fdc5cea15943e95c8fea7001b632d4'/>
<id>urn:sha1:c029eb3257fdc5cea15943e95c8fea7001b632d4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>backout.  diff was not tested comprehensively, resulting in a broken tree.</title>
<updated>2018-03-07T19:07:13Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2018-03-07T19:07:13Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=d6bdacfdb0b9edd553f9810fcc2c1f3c8e0e5e8d'/>
<id>urn:sha1:d6bdacfdb0b9edd553f9810fcc2c1f3c8e0e5e8d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make tls_init() concurrently callable using pthread_once().</title>
<updated>2018-03-07T17:17:47Z</updated>
<author>
<name>beck</name>
<email>beck@openbsd.org</email>
</author>
<published>2018-03-07T17:17:47Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=62f07b25bdd968b3fd75b30b4d3f23fe17e878b2'/>
<id>urn:sha1:62f07b25bdd968b3fd75b30b4d3f23fe17e878b2</id>
<content type='text'>
ok jsing@

This brings pthread_once usage into libressl, which will
need to get dealt with correctly in portable.

This sets us up to autoinit libtls, and we will also be
using pthread_once to deal with autoinit stuff in libssl
and libcrypto
</content>
</entry>
</feed>
