<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libssl/s23_srvr.c, branch OPENBSD_5_7</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_5_7</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_5_7'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2015-03-08T16:48:49+00:00</updated>
<entry>
<title>This commit was manufactured by cvs2git to create branch 'OPENBSD_5_7'.</title>
<updated>2015-03-08T16:48:49+00:00</updated>
<author>
<name>cvs2svn</name>
<email>admin@example.com</email>
</author>
<published>2015-03-08T16:48:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=03e0d0748934886665c3031cda5fdccf45f2fb8d'/>
<id>urn:sha1:03e0d0748934886665c3031cda5fdccf45f2fb8d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Bring back the horrible API that is get_cipher_by_char/put_cipher_by_char.</title>
<updated>2015-02-06T08:30:23+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2015-02-06T08:30:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=970e6ec5cda1aae85293f7a4c40abbf0d9bc7457'/>
<id>urn:sha1:970e6ec5cda1aae85293f7a4c40abbf0d9bc7457</id>
<content type='text'>
This API was intended to be an internal only, however like many things in
OpenSSL, it is exposed externally and parts of the software ecosystem are
now using it since there is no real alternative within the public API.

ok doug@, tedu@ and reluctantly miod@
</content>
</entry>
<entry>
<title>ssl3_init_finished_mac() calls BIO_new() which can fail since it in turn</title>
<updated>2014-12-10T15:43:31+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2014-12-10T15:43:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=dab47bb742c4c69e7fbed8b439b68dd68e5a3bcc'/>
<id>urn:sha1:dab47bb742c4c69e7fbed8b439b68dd68e5a3bcc</id>
<content type='text'>
calls malloc(). Instead of silently continuing on failure, check the return
value of BIO_new() and propagate failure back to the caller for appropriate
handling.

ok bcook@
</content>
</entry>
<entry>
<title>Sort and group includes.</title>
<updated>2014-11-16T14:12:47+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2014-11-16T14:12:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=dc16671f7b6b2455ac1577a735b7ef0a5d6bdacf'/>
<id>urn:sha1:dc16671f7b6b2455ac1577a735b7ef0a5d6bdacf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use arc4random_buf() instead of RAND_bytes() or RAND_pseudo_bytes().</title>
<updated>2014-10-18T16:13:16+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2014-10-18T16:13:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=e5f7da89ad91edc7b49a86c9e81df055d649d6da'/>
<id>urn:sha1:e5f7da89ad91edc7b49a86c9e81df055d649d6da</id>
<content type='text'>
arc4random provides high quality pseudo-random numbers, hence there is no
need to differentiate between "strong" and "pseudo". Furthermore, the
arc4random_buf() function is guaranteed to succeed, which avoids the need
to check for and handle failure, simplifying the code.

It is worth noting that a number of the replaced RAND_bytes() and
RAND_pseudo_bytes() calls were missing return value checks and these
functions can fail for a number of reasons (at least in OpenSSL -
thankfully they were converted to wrappers around arc4random_buf() some
time ago in LibreSSL).

ok beck@ deraadt@ miod@
</content>
</entry>
<entry>
<title>Since we no longer need to support SSLv2-style cipher lists, start</title>
<updated>2014-08-10T14:42:56+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2014-08-10T14:42:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=a900fde6b8efe7fd9b77b5a22dc1ef0cebe605a5'/>
<id>urn:sha1:a900fde6b8efe7fd9b77b5a22dc1ef0cebe605a5</id>
<content type='text'>
unravelling the maze of function pointers and callbacks by directly
calling ssl3_{get,put}_cipher_by_char() and removing the
ssl_{get,put}_cipher_by_char macros.

Prompted by similar changes in boringssl.

ok guenther.
</content>
</entry>
<entry>
<title>When you expect a function to return a particular value, don't put a comment</title>
<updated>2014-08-07T19:46:31+00:00</updated>
<author>
<name>miod</name>
<email></email>
</author>
<published>2014-08-07T19:46:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=52fafe121652f8c5058ec964bbbf0d342db8037c'/>
<id>urn:sha1:52fafe121652f8c5058ec964bbbf0d342db8037c</id>
<content type='text'>
saying that you expect it to return that value and compare it against zero
because it is supposedly faster, for this leads to bugs (especially given the
high rate of sloppy cut'n'paste within ssl3 and dtls1 routines in this
library).

Instead, compare for the exact value it ought to return upon success.

ok deraadt@
</content>
</entry>
<entry>
<title>Fix CVE-2014-3511; TLS downgrade, verbatim diff</title>
<updated>2014-08-07T04:49:53+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2014-08-07T04:49:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=d262467c46607aa30800e41ec750692ff8571476'/>
<id>urn:sha1:d262467c46607aa30800e41ec750692ff8571476</id>
<content type='text'>
https://git.openssl.org/gitweb/?p=openssl.git;a=commit;h=280b1f1ad12131defcd986676a8fc9717aaa601b
ok guenther miod
</content>
</entry>
<entry>
<title>No need to keep ssl23_foo() flavours mapping to ssl3_foo().</title>
<updated>2014-07-11T08:17:36+00:00</updated>
<author>
<name>miod</name>
<email></email>
</author>
<published>2014-07-11T08:17:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=d9f6f668cd5c8449297f6be877ee548d757a6c1e'/>
<id>urn:sha1:d9f6f668cd5c8449297f6be877ee548d757a6c1e</id>
<content type='text'>
ok tedu@
</content>
</entry>
<entry>
<title>decompress libssl. ok beck jsing</title>
<updated>2014-07-10T08:51:15+00:00</updated>
<author>
<name>tedu</name>
<email></email>
</author>
<published>2014-07-10T08:51:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=78de0a2c32aaba2455b28e3cb034f296c59c3179'/>
<id>urn:sha1:78de0a2c32aaba2455b28e3cb034f296c59c3179</id>
<content type='text'>
</content>
</entry>
</feed>
