<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/x509, branch libressl-v3.5.0</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=libressl-v3.5.0</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=libressl-v3.5.0'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2022-02-11T17:41:55+00:00</updated>
<entry>
<title>Fix length check of IP addresses for name constraints</title>
<updated>2022-02-11T17:41:55+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-02-11T17:41:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=361c0710908fd1b1a377f83b3fd0ba3c3491c6bb'/>
<id>urn:sha1:361c0710908fd1b1a377f83b3fd0ba3c3491c6bb</id>
<content type='text'>
An IP address in a name constraint is actually an IP address concatenated
with a netmask, so it is twice as long as usual.

This fixes a third bug introduced in r1.3 and reported by Volker Schlecht

ok jsing
</content>
</entry>
<entry>
<title>Add missing error check for a2i_GENERAL_NAME()</title>
<updated>2022-02-11T17:39:36+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-02-11T17:39:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=911e0aa6f16aba90dc8107a37cd5e01f041fc86a'/>
<id>urn:sha1:911e0aa6f16aba90dc8107a37cd5e01f041fc86a</id>
<content type='text'>
Fixes a segfault reported by Volker Schlecht.

ok jsing
</content>
</entry>
<entry>
<title>Fix a double free in v2i_NAME_CONSTRAINTS()</title>
<updated>2022-02-11T17:37:54+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-02-11T17:37:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=3e9423819d5b05b96cf6ad8d411708c75f9afbc5'/>
<id>urn:sha1:3e9423819d5b05b96cf6ad8d411708c75f9afbc5</id>
<content type='text'>
a2i_GENERAL_NAME() modifies and returns the out argument that was
passed in unless out == NULL, in which case it returns something
freshly allocated. Thus, in v2i_GENERAL_NAME_ex() we must only free
ret if out == NULL so v2i_NAME_CONSTRAINTS() can free correctly.

Issue reported by Volker Schlecht

ok jsing
</content>
</entry>
<entry>
<title>Remove a strange inheritance check from addr_validate_path_internal()</title>
<updated>2022-02-04T16:34:15+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-02-04T16:34:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=52686057ee5ada84b0783d53915ce779af668aba'/>
<id>urn:sha1:52686057ee5ada84b0783d53915ce779af668aba</id>
<content type='text'>
The trust anchor can't inherit, but the code says that it can inherit
just not if the leaf tries to inherit from that. This makes no sense
and doesn't match what is done on the asid side.

ok jsing
</content>
</entry>
<entry>
<title>X509_GET_PUBKEY(3) return value check in libcrypto</title>
<updated>2022-01-22T00:36:46+00:00</updated>
<author>
<name>inoguchi</name>
<email></email>
</author>
<published>2022-01-22T00:36:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=87d8a213e0706edea9e5ed31e623bd2fdd019729'/>
<id>urn:sha1:87d8a213e0706edea9e5ed31e623bd2fdd019729</id>
<content type='text'>
CID 345116

ok beck@ tb@
</content>
</entry>
<entry>
<title>X509_GET_PUBKEY(3) return value check in libcrypto</title>
<updated>2022-01-22T00:34:48+00:00</updated>
<author>
<name>inoguchi</name>
<email></email>
</author>
<published>2022-01-22T00:34:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=1ac8594c219b822f6c1d88dfb9f304d09eac093d'/>
<id>urn:sha1:1ac8594c219b822f6c1d88dfb9f304d09eac093d</id>
<content type='text'>
CID 25131

ok beck@ tb@

suggest using X509_REQ_get0_pubkey() and remove the EVP_PKEY_free() from tb@
</content>
</entry>
<entry>
<title>Remove header guard around RFC 3779 declarations</title>
<updated>2022-01-14T09:01:36+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-01-14T09:01:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=cf5410882fabade6bbe1cfb5e37cbd5e234ff12a'/>
<id>urn:sha1:cf5410882fabade6bbe1cfb5e37cbd5e234ff12a</id>
<content type='text'>
ok inoguchi jsing
</content>
</entry>
<entry>
<title>Remove name_cmp from public visibility</title>
<updated>2022-01-14T08:50:25+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-01-14T08:50:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c24037a46025dcde612ce7f4a281ef94e716677f'/>
<id>urn:sha1:c24037a46025dcde612ce7f4a281ef94e716677f</id>
<content type='text'>
ok inoguchi jsing
</content>
</entry>
<entry>
<title>Garbage collect the app_items field of ASN1_ADB</title>
<updated>2022-01-14T08:16:13+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-01-14T08:16:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=ec5f7af843436771be5081c868e0fb0b44069ead'/>
<id>urn:sha1:ec5f7af843436771be5081c868e0fb0b44069ead</id>
<content type='text'>
This is unused and was removed in OpenSSL 5b70372d when it was
replaced with an ASN.1 ADB callback (which we don't support).

ok inoguchi jsing
</content>
</entry>
<entry>
<title>Remove X509_OBJECT_free_contents</title>
<updated>2022-01-14T07:53:45+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-01-14T07:53:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=6c6569a063047a621353ff519aeaa449af61ada3'/>
<id>urn:sha1:6c6569a063047a621353ff519aeaa449af61ada3</id>
<content type='text'>
Inline X509_OBJECT_free_contents() in X509_OBJECT_free() and
remove this dangerous API. It was left over when x509_vfy.h
was made opaque.

ok inoguchi jsing
</content>
</entry>
</feed>
