<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/x509, branch OPENBSD_6_4_BASE</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_6_4_BASE</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_6_4_BASE'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2018-08-24T20:26:03+00:00</updated>
<entry>
<title>Add const to EVP_PKCS82PKEY().</title>
<updated>2018-08-24T20:26:03+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2018-08-24T20:26:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=2e9cc12db341d66727099e500ca968482802fde1'/>
<id>urn:sha1:2e9cc12db341d66727099e500ca968482802fde1</id>
<content type='text'>
tested in a bulk by sthen
ok jsing
</content>
</entry>
<entry>
<title>After removing support for broken PKCS#8 formats (it was high time),</title>
<updated>2018-08-24T20:17:33+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2018-08-24T20:17:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=4cdbdc5207fa48804d8ed3a7929a97ae5f9f466d'/>
<id>urn:sha1:4cdbdc5207fa48804d8ed3a7929a97ae5f9f466d</id>
<content type='text'>
we can add const to PKCS8_pkey_get0().  In order for this to work,
we need to sprinkle a few consts here and there.

tested in a bulk by sthen
ok jsing
</content>
</entry>
<entry>
<title>Remove EVP_PKEY2PKCS8_broken() and PKCS8_set_broken()</title>
<updated>2018-08-24T20:07:42+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2018-08-24T20:07:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=e4cf8ac5385c963bee0eb8d0e642abe1bb82ac78'/>
<id>urn:sha1:e4cf8ac5385c963bee0eb8d0e642abe1bb82ac78</id>
<content type='text'>
Provide PKCS8_pkey_add1_attr_by_NID() and PKCS8_pkey_get0_attrs().
Remove the whole broken code and simplify pkcs8_priv_key_info_st
accordingly. Based on OpenSSL commit
54dbf42398e23349b59f258a3dd60387bbc5ba13 plus some const that was
added later.

tested in a bulk build by sthen
ok jsing
</content>
</entry>
<entry>
<title>Provide X509_get0_serialNumber()</title>
<updated>2018-08-24T19:59:32+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2018-08-24T19:59:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b2896b6759d33e259f8f56f743ec2d54f5002a50'/>
<id>urn:sha1:b2896b6759d33e259f8f56f743ec2d54f5002a50</id>
<content type='text'>
tested in a bulk by sthen
ok jsing
</content>
</entry>
<entry>
<title>Turn a number of #defines into proper functions with prototypes matching</title>
<updated>2018-08-24T19:55:58+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2018-08-24T19:55:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=d005d0528a66f69dbf8fb1a50b86c1bf40e135bc'/>
<id>urn:sha1:d005d0528a66f69dbf8fb1a50b86c1bf40e135bc</id>
<content type='text'>
those that OpenSSL has had for ages.

ok jsing
</content>
</entry>
<entry>
<title>Make X509_OBJECT_up_ref_count return an int.</title>
<updated>2018-08-24T19:21:09+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2018-08-24T19:21:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=74eedf34845483dbab4527b97ece0c1697ff88ff'/>
<id>urn:sha1:74eedf34845483dbab4527b97ece0c1697ff88ff</id>
<content type='text'>
Based on OpenSSL commit c5ebfcab713a82a1d46a51c8c2668c419425b387

tested in a bulk by sthen
ok jsing
</content>
</entry>
<entry>
<title>Don't leak sktmp in X509_verify_cert().</title>
<updated>2018-08-19T20:19:31+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2018-08-19T20:19:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=72e746eda16b1fcb8e54b3a9bd99c0fa48f51c22'/>
<id>urn:sha1:72e746eda16b1fcb8e54b3a9bd99c0fa48f51c22</id>
<content type='text'>
CID #118791

ok jsing mestre
</content>
</entry>
<entry>
<title>Remove unnecessary NULL check from get_cert_by_subject since</title>
<updated>2018-08-05T14:17:12+00:00</updated>
<author>
<name>bcook</name>
<email></email>
</author>
<published>2018-08-05T14:17:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=6b472be450b41d2399d1fd32bf31177c8c24f895'/>
<id>urn:sha1:6b472be450b41d2399d1fd32bf31177c8c24f895</id>
<content type='text'>
sk_BY_DIR_HASH_find already does it, removing ambiguity later in the function.

ok tb@
</content>
</entry>
<entry>
<title>Add const to both arguments of X509_certificate_type() and clean up</title>
<updated>2018-05-30T15:59:33+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2018-05-30T15:59:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=60382f7d19bb7b7087eb92001a800a712bcc4f4a'/>
<id>urn:sha1:60382f7d19bb7b7087eb92001a800a712bcc4f4a</id>
<content type='text'>
a little:

Use X509_get0_pubkey() in place of X509_get_pubkey() and EVP_PKEY_free().
Check return value of the former in the appropriate place and simplify the
logic for dealing with the potentially NULL pkey argument (includes a neat
tweak from jsing). Finally, kill an ugly comment that has been rotting for
twenty years and merge the lines around it.

tested in a bulk build by sthen
ok jsing
</content>
</entry>
<entry>
<title>Add a const qualifier to the `name' argument of</title>
<updated>2018-05-30T15:35:45+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2018-05-30T15:35:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=3a37ecacf160203b3975659c0fafbdeb5622c17f'/>
<id>urn:sha1:3a37ecacf160203b3975659c0fafbdeb5622c17f</id>
<content type='text'>
X509_NAME_get_index_by_{OBJ,NID}().

tested in a bulk build by sthen
suggested by &amp; ok jsing
</content>
</entry>
</feed>
