<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/bio, branch libressl-v3.4.1</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=libressl-v3.4.1</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=libressl-v3.4.1'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2021-07-11T20:18:07+00:00</updated>
<entry>
<title>While the traditional OpenSSL return value and behaviour of BIO_dump(3)</title>
<updated>2021-07-11T20:18:07+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2021-07-11T20:18:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=60e361c7ad4d3810a5c94e8def304ac4427b9c59'/>
<id>urn:sha1:60e361c7ad4d3810a5c94e8def304ac4427b9c59</id>
<content type='text'>
is pure comedy gold, and now documented as such, sadly this bit of pure
Muppet genius can't really in good consience stay in the tree as is.

Change BIO_dump to always return the number of bytes printed on success
and to stop printing and return -1 on failure if a writing function
fails.

ok tb@, jsing@
</content>
</entry>
<entry>
<title>Avoid mangled output in BIO_debug_callback</title>
<updated>2021-03-25T09:26:17+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2021-03-25T09:26:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=0939b7a663a0450286c355c29910f9611128d2b0'/>
<id>urn:sha1:0939b7a663a0450286c355c29910f9611128d2b0</id>
<content type='text'>
Instead of blindly skipping 14 characters, we can use the return
value of snprintf() to determine how much we should skip.

From Martin Vahlensieck with minor tweaks by me
</content>
</entry>
<entry>
<title>failed to detect asprintf() error by observing return of -1, instead the</title>
<updated>2019-06-28T05:47:57+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2019-06-28T05:47:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c1fcaeae79bc31f65b74c1825ddee23b90beee04'/>
<id>urn:sha1:c1fcaeae79bc31f65b74c1825ddee23b90beee04</id>
<content type='text'>
code was inspecting the pointer (which is, sadly, undefined on error, because
the current specification of asprintf is crazy sloppy)
</content>
</entry>
<entry>
<title>Add input validation to BIO_read()/BIO_write().</title>
<updated>2019-04-14T17:39:03+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2019-04-14T17:39:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=43d312539a65f8db03988a53b94f1e6aa6e40f3c'/>
<id>urn:sha1:43d312539a65f8db03988a53b94f1e6aa6e40f3c</id>
<content type='text'>
Some bread/bwrite functions implement this themselves, while others do not.
This makes it consistent across all BIO implementations.

Addresses an issue that Guido Vranken found with his fuzzer.

ok tb@
</content>
</entry>
<entry>
<title>Add const to the argument of the following callback getters:</title>
<updated>2018-06-02T04:41:12+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2018-06-02T04:41:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=e664354751e6274f4e304cea46e120e43dd41ade'/>
<id>urn:sha1:e664354751e6274f4e304cea46e120e43dd41ade</id>
<content type='text'>
BIO_meth_get_callback_ctrl, BIO_meth_get_create, BIO_meth_get_ctrl,
BIO_meth_get_destroy, BIO_meth_get_gets, BIO_meth_get_puts,
BIO_meth_get_read, and BIO_meth_get_write.

ok jsing
</content>
</entry>
<entry>
<title>Add a const qualifier to the return value of BIO_s_file().</title>
<updated>2018-05-30T00:23:04+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2018-05-30T00:23:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=ba417c1f27f6729e06c935d52544e49aa831b602'/>
<id>urn:sha1:ba417c1f27f6729e06c935d52544e49aa831b602</id>
<content type='text'>
tested in a bulk build by sthen
ok bcook, jsing
</content>
</entry>
<entry>
<title>const qualifiers for BIO_new_mem_buf(), BIO_new_connect() and</title>
<updated>2018-05-12T18:51:59+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2018-05-12T18:51:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=1f5db40c0572d1f35b285265441091873a7f8c7f'/>
<id>urn:sha1:1f5db40c0572d1f35b285265441091873a7f8c7f</id>
<content type='text'>
BIO_new_accept(). The one for BIO_new_mem_buf() is a bit ugly
since it needs to cast away the newly added const qualifier,
as in OpenSSL commit 8ab31975bac.

ok jsing
</content>
</entry>
<entry>
<title>Add const qualifiers to the return values of BIO_s_mem() and</title>
<updated>2018-05-12T17:47:53+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2018-05-12T17:47:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=31d743443e7e064d16f4ba3a739b7c5a6b6361f0'/>
<id>urn:sha1:31d743443e7e064d16f4ba3a739b7c5a6b6361f0</id>
<content type='text'>
BIO_s_datagram().

ok jsing
</content>
</entry>
<entry>
<title>const for BIO_{new,set}() and most of the BIO_{f,s}_*() family of</title>
<updated>2018-05-01T13:29:10+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2018-05-01T13:29:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=0348b99054499311191f1db880064066ce1c64b2'/>
<id>urn:sha1:0348b99054499311191f1db880064066ce1c64b2</id>
<content type='text'>
functions.

ok beck, jsing
</content>
</entry>
<entry>
<title>Bring in compatibility for OpenSSL 1.1 style init functions.</title>
<updated>2018-03-17T16:20:01+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2018-03-17T16:20:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=035770aca4c8c1f0d36f1b8da62c9e1fb9a4f09b'/>
<id>urn:sha1:035770aca4c8c1f0d36f1b8da62c9e1fb9a4f09b</id>
<content type='text'>
This adds OPENSSL_init_crypto and OPENSSL_init_ssl, as well
thread safety modifications for the existing LibreSSL init
functions.  The initialization routines are called automatically
by the normal entry points into the library, as in newer OpenSSL

ok jsing@, nits by tb@ and deraadt@
</content>
</entry>
</feed>
