<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/x509, branch libressl-v3.8.2</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=libressl-v3.8.2</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=libressl-v3.8.2'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2023-09-29T15:53:59+00:00</updated>
<entry>
<title>Allow IP addresses to be specified in a URI.</title>
<updated>2023-09-29T15:53:59+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2023-09-29T15:53:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=80b641926ef387afe18b1bf1d78decf21db0f607'/>
<id>urn:sha1:80b641926ef387afe18b1bf1d78decf21db0f607</id>
<content type='text'>
Our checking here was a bit too aggressive, and did not permit an
IP address in a URI. IP's in a URI are allowed for things like CRLdp's
AIA, SAN URI's etc.). The check for this was also slightly flawed as
we would permit an IP if memory allocation failed while checking for
an IP.

Correct both issues.

ok tb@
</content>
</entry>
<entry>
<title>RFC 3779: stop pretending we support AFIs other than IPv4 and IPv6</title>
<updated>2023-09-27T11:29:22+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-09-27T11:29:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=75f2765087fae7aa00a9fea3e0cf99ab0a4744cd'/>
<id>urn:sha1:75f2765087fae7aa00a9fea3e0cf99ab0a4744cd</id>
<content type='text'>
This code is a complete bug fest and using it with any other AFI is
downright dangerous. Such don't arise in this context in practice.

ok claudio jsing
</content>
</entry>
<entry>
<title>Back out superfluous initialization</title>
<updated>2023-09-11T00:50:47+00:00</updated>
<author>
<name>job</name>
<email></email>
</author>
<published>2023-09-11T00:50:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=f94b72131d58d1273926fb2273ffcbec24dfcbc6'/>
<id>urn:sha1:f94b72131d58d1273926fb2273ffcbec24dfcbc6</id>
<content type='text'>
requested by jsing@
</content>
</entry>
<entry>
<title>Initialize afi &amp; safi to zero</title>
<updated>2023-09-06T15:53:07+00:00</updated>
<author>
<name>job</name>
<email></email>
</author>
<published>2023-09-06T15:53:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=4163e2307248c854942f69912c53837222a6c5e8'/>
<id>urn:sha1:4163e2307248c854942f69912c53837222a6c5e8</id>
<content type='text'>
OK tb@
</content>
</entry>
<entry>
<title>Avoid use-of-uninitialized in i2r_IPAddrBlocks()</title>
<updated>2023-09-06T15:32:54+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-09-06T15:32:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=e334da698f41852e6ca8658858b845bc787eaf56'/>
<id>urn:sha1:e334da698f41852e6ca8658858b845bc787eaf56</id>
<content type='text'>
Reported by Viktor Szakats in
https://github.com/libressl/portable/issues/910

ok job
</content>
</entry>
<entry>
<title>Fix leaks in copy_issuer()</title>
<updated>2023-08-30T00:49:32+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-08-30T00:49:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=a4768fca91b9eaa7e7367f0ccf398b87f09e1fb8'/>
<id>urn:sha1:a4768fca91b9eaa7e7367f0ccf398b87f09e1fb8</id>
<content type='text'>
The stack of subject alternative names from the issuer is parsed using
X509V3_EXT_d2i(), so it must be freed with sk_GENERAL_NAME_pop_free().
It's not worth doing complicated ownership handling when the individual
alternative names can be copied with GENERAL_NAME_dup().

Previously, ialt and its remaining members would be leaked when the call
to sk_GENERAL_NAME_push() failed halfway through.

This is only reachable via the issuer:copy x509v3.cnf(5) directive.

ok jsing
</content>
</entry>
<entry>
<title>Check X509_digest() return in x509v3_cache_extensions()</title>
<updated>2023-08-18T08:42:41+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-08-18T08:42:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=d8e2d178512117ebeb3ce17f84d0c91e807b2626'/>
<id>urn:sha1:d8e2d178512117ebeb3ce17f84d0c91e807b2626</id>
<content type='text'>
On failure invalidate the cert with EXFLAG_INVALID. It's unlikely that
a cert would make it through to the end of this function without setting
the flag, but it's bad style anyway.

ok jsing
</content>
</entry>
<entry>
<title>Stop including ecdsa.h and ecdh.h internally</title>
<updated>2023-07-28T15:50:33+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-07-28T15:50:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=dee6ca6302cdbd5982c40288832f1fbe51d045d5'/>
<id>urn:sha1:dee6ca6302cdbd5982c40288832f1fbe51d045d5</id>
<content type='text'>
These headers are now reduced to #include &lt;openssl/ec.h&gt; and are provided
for compatiblity only. There's no point in using them. At the same time
garbage collect the last uses of OPENSSL_NO_{ECDSA,ECDH} in our tree.

ok jsing
</content>
</entry>
<entry>
<title>Convert some tables to C99 initializers</title>
<updated>2023-07-02T17:12:17+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-07-02T17:12:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=4536f2834a091e2b67ca99b59dc364c7ccc30a4b'/>
<id>urn:sha1:4536f2834a091e2b67ca99b59dc364c7ccc30a4b</id>
<content type='text'>
ok &amp; "happy pirate day" beck
</content>
</entry>
<entry>
<title>x509v3.h: unwrap a line</title>
<updated>2023-06-25T18:15:21+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-06-25T18:15:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=432078e260508caf5cc9bc5d823927af20b479dd'/>
<id>urn:sha1:432078e260508caf5cc9bc5d823927af20b479dd</id>
<content type='text'>
</content>
</entry>
</feed>
