<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/dh, branch libressl-v2.1.4</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=libressl-v2.1.4</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=libressl-v2.1.4'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2015-02-14T15:06:55+00:00</updated>
<entry>
<title>Expand ASN1_CHOICE*, ASN1_SEQUENCE* and associated macros, making the</title>
<updated>2015-02-14T15:06:55+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2015-02-14T15:06:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=50c0f75baaf19556bde13d9ac8eeac270daa913b'/>
<id>urn:sha1:50c0f75baaf19556bde13d9ac8eeac270daa913b</id>
<content type='text'>
data structures visible and easier to review, without having to wade
through layers and layers of asn1t.h macros.

Change has been scripted and there is no change to the generated assembly.

Discussed with beck@ miod@ tedu@
</content>
</entry>
<entry>
<title>Enable building with -DOPENSSL_NO_DEPRECATED.</title>
<updated>2015-02-11T03:19:37+00:00</updated>
<author>
<name>doug</name>
<email></email>
</author>
<published>2015-02-11T03:19:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=e816a1ec1d4411707051912b945e8eab7a5a94e8'/>
<id>urn:sha1:e816a1ec1d4411707051912b945e8eab7a5a94e8</id>
<content type='text'>
If you didn't enable deprecated code, there were missing err.h and
bn.h includes.  This commit allows building with or without deprecated
code.

This was not derived from an OpenSSL commit.  However, they recently
enabled OPENSSL_NO_DEPRECATED in git and fixed these header problems
in a different way.

Verified with clang that this only changes line numbers in the generated
asm.

ok miod@
</content>
</entry>
<entry>
<title>Expand the -IMPLEMENT_ASN1_ENCODE_FUNCTIONS_(const_)?fname macros so that</title>
<updated>2015-02-10T05:12:23+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2015-02-10T05:12:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=2bd884004b68a3cdb5e24f3a1e6e8e3baa60a43e'/>
<id>urn:sha1:2bd884004b68a3cdb5e24f3a1e6e8e3baa60a43e</id>
<content type='text'>
the code is visible and functions can be readily located.

Change has been scripted and there is no change to the generated assembly.

Discussed with beck@ miod@ tedu@
</content>
</entry>
<entry>
<title>BN_CTX_get() can fail - consistently check its return value.</title>
<updated>2015-02-09T15:49:22+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2015-02-09T15:49:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=15dc63f9715f4f10924a705d6a4cc564afe2129e'/>
<id>urn:sha1:15dc63f9715f4f10924a705d6a4cc564afe2129e</id>
<content type='text'>
There are currently cases where the return from each call is checked,
the return from only the last call is checked and cases where it is not
checked at all (including code in bn, ec and engine).

Checking the last return value is valid as once the function fails it will
continue to return NULL. However, in order to be consistent check each
call with the same idiom. This makes it easy to verify.

Note there are still a handful of cases that do not follow the idiom -
these will be handled separately.

ok beck@ doug@
</content>
</entry>
<entry>
<title>This is neither code not proper documentation.</title>
<updated>2015-02-09T04:12:34+00:00</updated>
<author>
<name>miod</name>
<email></email>
</author>
<published>2015-02-09T04:12:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=6759dc7e26a0b5d4f9817cbb8f3ccaefa6064a29'/>
<id>urn:sha1:6759dc7e26a0b5d4f9817cbb8f3ccaefa6064a29</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Delete a lot of #if 0 code in libressl.</title>
<updated>2015-02-07T13:19:15+00:00</updated>
<author>
<name>doug</name>
<email></email>
</author>
<published>2015-02-07T13:19:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=a58e958ffece1b48f50bc090357dee2cd5b1bc20'/>
<id>urn:sha1:a58e958ffece1b48f50bc090357dee2cd5b1bc20</id>
<content type='text'>
There are a few instances where #if 1 is removed but the code remains.

Based on the following OpenSSL commits.  Some of the commits weren't
strictly deletions so they are going to be split up into separate commits.

6f91b017bbb7140f816721141ac156d1b828a6b3
3d47c1d331fdc7574d2275cda1a630ccdb624b08
dfb56425b68314b2b57e17c82c1df42e7a015132
c8fa2356a00cbaada8963f739e5570298311a060
f16a64d11f55c01f56baa62ebf1dec7f8fe718cb
9ccc00ef6ea65567622e40c49aca43f2c6d79cdb
02a938c953b3e1ced71d9a832de1618f907eb96d
75d0ebef2aef7a2c77b27575b8da898e22f3ccd5
d6fbb194095312f4722c81c9362dbd0de66cb656
6f1a93ad111c7dfe36a09a976c4c009079b19ea1
1a5adcfb5edfe23908b350f8757df405b0f5f71f
8de24b792743d11e1d5a0dcd336a49368750c577
a2b18e657ea1a932d125154f4e13ab2258796d90
8e964419603d2478dfb391c66e7ccb2dcc9776b4
32dfde107636ac9bc62a5b3233fe2a54dbc27008

input + ok jsing@, miod@, tedu@
</content>
</entry>
<entry>
<title>Avoid a double-free in an error path.</title>
<updated>2015-01-08T01:44:29+00:00</updated>
<author>
<name>doug</name>
<email></email>
</author>
<published>2015-01-08T01:44:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=e25dedbd2facba44ae1d67faa64b7c320f417231'/>
<id>urn:sha1:e25dedbd2facba44ae1d67faa64b7c320f417231</id>
<content type='text'>
ok jsing@ beck@
</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>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>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>
</feed>
