<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/pem, branch libressl-v2.1.2</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=libressl-v2.1.2</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=libressl-v2.1.2'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2014-10-22T13:02:04+00:00</updated>
<entry>
<title>Use arc4random_buf() instead of RAND_bytes() or RAND_pseudo_bytes().</title>
<updated>2014-10-22T13:02:04+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2014-10-22T13:02:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=fa457604779ff38b511fdfdae3c6a78664281c22'/>
<id>urn:sha1:fa457604779ff38b511fdfdae3c6a78664281c22</id>
<content type='text'>
arc4random_buf() is guaranteed to always succeed - it is worth noting
that a number of the replaced function calls were already missing return
value checks.

ok deraadt@
</content>
</entry>
<entry>
<title>None of these need to include &lt;openssl/rand.h&gt;</title>
<updated>2014-10-18T17:20:40+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2014-10-18T17:20:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=0bad55f54f7132a386746f23ba4f2d106d115563'/>
<id>urn:sha1:0bad55f54f7132a386746f23ba4f2d106d115563</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make sure PEM_def_callback() correctly handles negative buffer sizes; all uses</title>
<updated>2014-07-23T20:43:56+00:00</updated>
<author>
<name>miod</name>
<email></email>
</author>
<published>2014-07-23T20:43:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=84c446e5e0e079bc7255416b7793d2433fd6a6e7'/>
<id>urn:sha1:84c446e5e0e079bc7255416b7793d2433fd6a6e7</id>
<content type='text'>
within libcrypto are safe, but until we can change this function prototype to
use size_t instead of int, better be safe than sorry.

tweaks and ok guenther@
</content>
</entry>
<entry>
<title>if (x) FOO_free(x) -&gt; FOO_free(x).</title>
<updated>2014-07-12T16:03:37+00:00</updated>
<author>
<name>miod</name>
<email></email>
</author>
<published>2014-07-12T16:03:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=068bf464df6ef084067943863d776f59762bfaf0'/>
<id>urn:sha1:068bf464df6ef084067943863d776f59762bfaf0</id>
<content type='text'>
Improves readability, keeps the code smaller so that it is warmer in your
cache.

review &amp; ok deraadt@
</content>
</entry>
<entry>
<title>Missing bounds check in do_PVK_body(); OpenSSL RT #2277, from OpenSSL trunk,</title>
<updated>2014-07-11T15:35:53+00:00</updated>
<author>
<name>miod</name>
<email></email>
</author>
<published>2014-07-11T15:35:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=8c090a5fea97972d423ae8567b3355c106f1c3fc'/>
<id>urn:sha1:8c090a5fea97972d423ae8567b3355c106f1c3fc</id>
<content type='text'>
but without a memory leak.
</content>
</entry>
<entry>
<title>Only import cryptlib.h in the four source files that actually need it.</title>
<updated>2014-07-11T08:44:49+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2014-07-11T08:44:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=74e2c009c83ad374bd6acdcfc376a384e25ab007'/>
<id>urn:sha1:74e2c009c83ad374bd6acdcfc376a384e25ab007</id>
<content type='text'>
Remove the openssl public includes from cryptlib.h and add a small number
of includes into the source files that actually need them. While here,
also sort/group/tidy the includes.

ok beck@ miod@
</content>
</entry>
<entry>
<title>Explicitly include &lt;openssl/opensslconf.h&gt; in every file that references</title>
<updated>2014-07-10T22:45:58+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2014-07-10T22:45:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=62348213609ef233110561d1a6ed67ad66df1c7e'/>
<id>urn:sha1:62348213609ef233110561d1a6ed67ad66df1c7e</id>
<content type='text'>
an OPENSSL_NO_* define. This avoids relying on something else pulling it
in for us, plus it fixes several cases where the #ifndef OPENSSL_NO_XYZ is
never going to do anything, since OPENSSL_NO_XYZ will never defined, due
to the fact that opensslconf.h has not been included.

This also includes some miscellaneous sorting/tidying of headers.
</content>
</entry>
<entry>
<title>Stop including standard headers via cryptlib.h - pull in the headers that</title>
<updated>2014-07-10T13:58:23+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2014-07-10T13:58:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c917c683bc93c68fbf4310ac181f7906e76b3c94'/>
<id>urn:sha1:c917c683bc93c68fbf4310ac181f7906e76b3c94</id>
<content type='text'>
are needed in the source files that actually require them.

ok beck@ miod@
</content>
</entry>
<entry>
<title>delete some casts. ok miod</title>
<updated>2014-07-10T11:25:13+00:00</updated>
<author>
<name>tedu</name>
<email></email>
</author>
<published>2014-07-10T11:25:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=9421b506453fdfe6759d65eb72db5aba17690e4f'/>
<id>urn:sha1:9421b506453fdfe6759d65eb72db5aba17690e4f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Missing allocation checks and potential NULL pointer dereference in the</title>
<updated>2014-07-10T11:20:49+00:00</updated>
<author>
<name>miod</name>
<email></email>
</author>
<published>2014-07-10T11:20:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=aa22740588e4aeab3c1a484a1a1ca986a4545a95'/>
<id>urn:sha1:aa22740588e4aeab3c1a484a1a1ca986a4545a95</id>
<content type='text'>
error path in PEM_X509_INFO_read_bio(); ok guenther@ jsing@
</content>
</entry>
</feed>
