<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto, branch master</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=master</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2026-04-25T05:47:03+00:00</updated>
<entry>
<title>Add FIPS 180-4 references for SHA-256 constants.</title>
<updated>2026-04-25T05:47:03+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2026-04-25T05:47:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=97c2391bc4e4f5f825b6730ddf68b06376f77e52'/>
<id>urn:sha1:97c2391bc4e4f5f825b6730ddf68b06376f77e52</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Simplify PKCS7_get_issuer_and_serial()</title>
<updated>2026-04-24T15:10:20+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2026-04-24T15:10:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=425087a13e903f70b7f86dc6cbfd0893fb2ef79a'/>
<id>urn:sha1:425087a13e903f70b7f86dc6cbfd0893fb2ef79a</id>
<content type='text'>
The i variable is unused. Likewise for the first assignment to ri.
Instead of an incomplete check that idx is in range, which still
results in a NULL deref if idx &lt; 0, check if ri is not NULL before
accessing, as sk_value() checks the index correctly.

ok jsing kenjiro
</content>
</entry>
<entry>
<title>mlkem: use &lt;openssl/mlkem.h&gt; instead of "mlkem.h"</title>
<updated>2026-04-20T08:14:29+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2026-04-20T08:14:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=052c4cf7f1328bcebfedf3eb9c2c76290dad8e7d'/>
<id>urn:sha1:052c4cf7f1328bcebfedf3eb9c2c76290dad8e7d</id>
<content type='text'>
patch from portable
</content>
</entry>
<entry>
<title>ec_pmeth: fix 20yo comment: *outlen -&gt; *keylen</title>
<updated>2026-04-20T04:26:12+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2026-04-20T04:26:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=e4bc9bc7b9138edf0b9cbab71d97ecd0dd29c6ac'/>
<id>urn:sha1:e4bc9bc7b9138edf0b9cbab71d97ecd0dd29c6ac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Prior to this we substring matched and allowed a leading .</title>
<updated>2026-04-13T17:04:23+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2026-04-13T17:04:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=cf3eec32e7a6acbaecd14871fb75ad34fb76c3e7'/>
<id>urn:sha1:cf3eec32e7a6acbaecd14871fb75ad34fb76c3e7</id>
<content type='text'>
on a SAN DNSname constraint. This is not correct, as with
a DNSname constraint, it may exacly match or match zero or
more additional components on the front of the candidte to
match.

Spotted by Haruto Kimura &lt;hkimura2026@gmail.com&gt;

ok tb@ kenjiro@
</content>
</entry>
<entry>
<title>Bump LibreSSL version for the release</title>
<updated>2026-04-08T05:30:20+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2026-04-08T05:30:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=d58a3236dc52156e5514e3212cbb63805e90915e'/>
<id>urn:sha1:d58a3236dc52156e5514e3212cbb63805e90915e</id>
<content type='text'>
ok deraadt
</content>
</entry>
<entry>
<title>Rename labellen to label_len</title>
<updated>2026-04-07T13:16:41+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2026-04-07T13:16:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=825b6076f1b1772665d1adce40e8087ee4e3d091'/>
<id>urn:sha1:825b6076f1b1772665d1adce40e8087ee4e3d091</id>
<content type='text'>
Requested by jsing, ok beck
</content>
</entry>
<entry>
<title>Fix NULL deref for malformed OAEP parameters in CMS decryption</title>
<updated>2026-04-07T13:15:29+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2026-04-07T13:15:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=e783182e57d664df5859c6b6cbd65563cdc26528'/>
<id>urn:sha1:e783182e57d664df5859c6b6cbd65563cdc26528</id>
<content type='text'>
This converts rsa_cms_decrypt() to use X509_ALGOR_get0() and fixes a
NULL deref when a parameter is (invalidly) omitted similar to the fix
in ec/ec_ameth.c r1.66 from a couple years back. There is currently
an XXX annotating a hairy leak due to trying to be smart and stealing
the parameters from the oaep object. Instead, just make a copy of the
label string and free it in the exit path.

The diff adds an error for labellen == 0 since that is an invalid
encoding of pSpecifiedEmpty (see RFC 8017) -- per the DER the default
must be omitted. This way we avoid a malloc(0) implementation-defined
behavior.

This minor issue was assigned CVE-2026-28390 by OpenSSL and was reported
by too many to list. The fix is my own. It is similar to OpenSSL's fix
only because I rewiewed theirs and suggested an improvement or two.

This is the last of the "security fixes" in today's OpenSSL release that
"affect" LibreSSL. All the other bugs were already fixed a few years back
or we didn't have the code/bugs in the first place.

ok beck jsing
</content>
</entry>
<entry>
<title>Refactor and fix ocsp_find_signer_sk()</title>
<updated>2026-04-07T13:02:50+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2026-04-07T13:02:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=bd035cb5927e4f4359c2ecd94226a2536b0d7773'/>
<id>urn:sha1:bd035cb5927e4f4359c2ecd94226a2536b0d7773</id>
<content type='text'>
Instead of reaching deep inside the OCSP_BASICRESP and ignoring its
semantics and then try to untangle things in ocsp_find_signer_sk(),
pass the OCSP_BASICRESP and use OCSP_resp_get0_id() which has the
logic built in. Avoids a crash if you call OCSP_basic_verify() after
OCSP_BASICRESP_new() without OCSP_basic_sign(). This cannot happen on
a deserialized OCSP object.

Prompted by a report by Kamil Frankowicz, Jan Kaminski, Bartosz Michalowski.

ok jsing
</content>
</entry>
<entry>
<title>Add a few to-do items to the crl_cb()</title>
<updated>2026-04-07T12:52:19+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2026-04-07T12:52:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c8f25bd7366a35c48b23230ab0da4f3484424ba2'/>
<id>urn:sha1:c8f25bd7366a35c48b23230ab0da4f3484424ba2</id>
<content type='text'>
Prompted by the "fix" fighting symptoms of misdesign in Delta CRL processing
rather than addressing the root cause. Probably the best fix is to remove
support for Indirect CRLs and Delta CRLs outright.

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