<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libtls, branch libressl-v3.0.1</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=libressl-v3.0.1</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=libressl-v3.0.1'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2019-07-09T17:58:33+00:00</updated>
<entry>
<title>Group tls_{handshake,read,write,close}() return values documentation.</title>
<updated>2019-07-09T17:58:33+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2019-07-09T17:58:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=ee433ef57027dc35958a9c56ad878f679d66886b'/>
<id>urn:sha1:ee433ef57027dc35958a9c56ad878f679d66886b</id>
<content type='text'>
Move the documentation for tls_error() down so that both the special return
values for tls_{handshake,read,write,close}() directly follow the standard
return values for the same functions.

Prompted by deraadt@.

ok deraadt@ schwarze@
</content>
</entry>
<entry>
<title>tls_read() &amp; tls_write() return 4 possible values: TLS_WANT_POLLOUT,</title>
<updated>2019-06-20T15:47:44+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2019-06-20T15:47:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=9fddbc1119a5bde8e0230cd05995f60c60c3596b'/>
<id>urn:sha1:9fddbc1119a5bde8e0230cd05995f60c60c3596b</id>
<content type='text'>
TLS_WANT_POLLIN, -1, or 0.  After handling the first two, check for -1
rather than vaguely "&lt; 0".
ok jsing
</content>
</entry>
<entry>
<title>provide getters and setters for the RSA_METHOD interface</title>
<updated>2019-06-05T15:41:33+00:00</updated>
<author>
<name>gilles</name>
<email></email>
</author>
<published>2019-06-05T15:41:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=9726b0d68faa6893b67a94e7e23aaba30e342d10'/>
<id>urn:sha1:9726b0d68faa6893b67a94e7e23aaba30e342d10</id>
<content type='text'>
ok tb@, jsing@, sthen@
</content>
</entry>
<entry>
<title>Acquire mutex before incrementing the refcount. Fixes COV-186144</title>
<updated>2019-05-13T22:36:01+00:00</updated>
<author>
<name>bcook</name>
<email></email>
</author>
<published>2019-05-13T22:36:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c9ed4a76707f17c97f0f1c670382b32d6045c638'/>
<id>urn:sha1:c9ed4a76707f17c97f0f1c670382b32d6045c638</id>
<content type='text'>
ok tb@
</content>
</entry>
<entry>
<title>Null out pointers on asprintf() failure.</title>
<updated>2019-04-13T18:47:58+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2019-04-13T18:47:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=22aa80a8806f00247678b585c491dcd94a5e7b3f'/>
<id>urn:sha1:22aa80a8806f00247678b585c491dcd94a5e7b3f</id>
<content type='text'>
These pointers will be passed to free. According to asprintf(3), "on
OpenBSD, ret will be set to the null pointer, but this behavior should
not be relied upon."

ok jsing
</content>
</entry>
<entry>
<title>Only assign destlen when src is non-NULL.</title>
<updated>2019-04-04T15:10:10+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2019-04-04T15:10:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=5dd1c6b96f9dc9a54b9f610ec892e291593d83b6'/>
<id>urn:sha1:5dd1c6b96f9dc9a54b9f610ec892e291593d83b6</id>
<content type='text'>
This avoids ever having a non-zero len with a NULL pointer.
</content>
</entry>
<entry>
<title>Switch to pthread_mutex_init().</title>
<updated>2019-04-04T15:09:09+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2019-04-04T15:09:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=d78a2d21e1c60e919ea9d18b07218205a8401e80'/>
<id>urn:sha1:d78a2d21e1c60e919ea9d18b07218205a8401e80</id>
<content type='text'>
While PTHREAD_MUTEX_INITIALIZER can be used on OpenBSD, some other
platforms do not like it.

Noted by bcook@
</content>
</entry>
<entry>
<title>Bump libssl/libtls minors due to symbol addition.</title>
<updated>2019-04-04T15:04:03+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2019-04-04T15:04:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=9d8674ce86c9e527155f720e01047aa6047f0fb7'/>
<id>urn:sha1:9d8674ce86c9e527155f720e01047aa6047f0fb7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add a mutex to guard reference counting for tls_config.</title>
<updated>2019-04-01T15:58:02+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2019-04-01T15:58:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=21c42a511c7d5693d9e491b79f765c4e74d2c16e'/>
<id>urn:sha1:21c42a511c7d5693d9e491b79f765c4e74d2c16e</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>remove duplicate set key file call. from alf.</title>
<updated>2019-03-27T11:12:10+00:00</updated>
<author>
<name>tedu</name>
<email></email>
</author>
<published>2019-03-27T11:12:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b7ae457118f912533dbd28087e1ffd5ef0e0bade'/>
<id>urn:sha1:b7ae457118f912533dbd28087e1ffd5ef0e0bade</id>
<content type='text'>
ok jsing
</content>
</entry>
</feed>
