<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/x509/x509cset.c, branch OPENBSD_7_9_BASE</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_9_BASE</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_9_BASE'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2025-10-10T11:31:13+00:00</updated>
<entry>
<title>Remove unused sequence member from x509_revoked_st</title>
<updated>2025-10-10T11:31:13+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2025-10-10T11:31:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=e6eb3281afe75c88fe14724ae36ddb51a2369a78'/>
<id>urn:sha1:e6eb3281afe75c88fe14724ae36ddb51a2369a78</id>
<content type='text'>
To allow binary search for looking up if a cert was revoked in a CRL,
the list of revoked serial numbers is sorted in crl_lookup(). On the
other hand, to be able to output the DER that was actually signed by
the issuer, the original order needs to be remembered.

Before the encoding was cached, there was a mechanism that would restore
the original order on serialization using the .sequence member. This was
done without a lock and was thus racy (hilarity would ensue if one thread
performed a CRL lookup while another thread serialized the same CRL). When
the racy mechanism was removed in 2004, the only reader of .sequence,
X509_REVOKED_seq_cmp(), was also removed, and this piece of dead code was
left behind. Garbage collect it.

ok kenjiro
</content>
</entry>
<entry>
<title>Cosmetics, mostly removal of silly parentheses</title>
<updated>2024-03-26T23:41:45+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-03-26T23:41:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=4d4e17e7ed47bb6b83164bf4eb0c107daf2afe24'/>
<id>urn:sha1:4d4e17e7ed47bb6b83164bf4eb0c107daf2afe24</id>
<content type='text'>
No change in generated assembly
</content>
</entry>
<entry>
<title>Tweak versions comment for CRLs</title>
<updated>2024-03-26T22:45:38+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-03-26T22:45:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c17347558c725bc8ce214dd6a590b5e84cbf3e2f'/>
<id>urn:sha1:c17347558c725bc8ce214dd6a590b5e84cbf3e2f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reject setting invalid versions for certs, CRLs and CSRs</title>
<updated>2024-03-26T11:09:37+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-03-26T11:09:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=bca94597de897cbb83cb218a6e28629341275a33'/>
<id>urn:sha1:bca94597de897cbb83cb218a6e28629341275a33</id>
<content type='text'>
The toolkit aspect bites again. Lots of invalid CRLs and CSRs are produced
because people neither read the RFCs nor does the toolkit check anything it
is fed. Reviewers apparently also aren't capable of remembering that they
have three copy-pasted versions of the same API and that adding a version
check to one of the might suggest adding one for the other two.

This requires ruby-openssl 20240326p0 to pass

ok beck job jsing
</content>
</entry>
<entry>
<title>libressl *_namespace.h: adjust *_ALIAS() to require a semicolon</title>
<updated>2023-02-16T08:38:17+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-02-16T08:38:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=24a27fd0d17d515b00097199de60fa85a76a95df'/>
<id>urn:sha1:24a27fd0d17d515b00097199de60fa85a76a95df</id>
<content type='text'>
LCRYPTO_ALIAS() and LSSL_ALIAS() contained a trailing semicolon.
This does not conform to style(9), breaks editors and ctags and
(most importantly) my workflow. Fix this by neutering them with
asm("") so that -Wpedantic doesn't complain. There's precedent
in libc's namespace.h

fix suggested by &amp; ok jsing
</content>
</entry>
<entry>
<title>Make internal header file names consistent</title>
<updated>2022-11-26T16:08:57+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-11-26T16:08:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=81d98bf600a381a625eb11b39a725b08c0ba547f'/>
<id>urn:sha1:81d98bf600a381a625eb11b39a725b08c0ba547f</id>
<content type='text'>
Libcrypto currently has a mess of *_lcl.h, *_locl.h, and *_local.h names
used for internal headers. Move all these headers we inherited from
OpenSSL to *_local.h, reserving the name *_internal.h for our own code.
Similarly, move dtls_locl.h and ssl_locl.h to dtls_local and ssl_local.h.
constant_time_locl.h is moved to constant_time.h since it's special.

Adjust all .c files in libcrypto, libssl and regress.

The diff is mechanical with the exception of tls13_quic.c, where
#include &lt;ssl_locl.h&gt; was fixed manually.

discussed with jsing,
no objection bcook
</content>
</entry>
<entry>
<title>Hide public symbols in libcrypto/x509 .c files</title>
<updated>2022-11-14T17:48:50+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2022-11-14T17:48:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=86ef9af254717a5620d93d1ebe06ab2ad9597496'/>
<id>urn:sha1:86ef9af254717a5620d93d1ebe06ab2ad9597496</id>
<content type='text'>
ok tb@
</content>
</entry>
<entry>
<title>Move the now internal X.509-related structs into x509_lcl.h.</title>
<updated>2021-11-01T20:53:08+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2021-11-01T20:53:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=f478d62658b61e2242dbf3575bf454f8c0f432b1'/>
<id>urn:sha1:f478d62658b61e2242dbf3575bf454f8c0f432b1</id>
<content type='text'>
Garbage collect the now unused LIBRESSL_CRYPTO_INTERNAL and
LIBRESSL_OPAQUE_X509. Include "x509_lcl.h" where needed and
fix a couple of unnecessary reacharounds.

ok jsing
</content>
</entry>
<entry>
<title>Prepare to provide X509_re_X509*_tbs()</title>
<updated>2021-10-23T11:56:10+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2021-10-23T11:56:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=bf6dd8bcaa14738fab93e42c56cd3d5fa528a000'/>
<id>urn:sha1:bf6dd8bcaa14738fab93e42c56cd3d5fa528a000</id>
<content type='text'>
ok beck jsing
</content>
</entry>
<entry>
<title>Provide X509_CRL_set1_lastUpdate() and X509_CRL_set1_nextUpdate().</title>
<updated>2018-02-22T17:01:44+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2018-02-22T17:01:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=37ca41ec4d3e5d62d5c2aeb79f6773a6b062247f'/>
<id>urn:sha1:37ca41ec4d3e5d62d5c2aeb79f6773a6b062247f</id>
<content type='text'>
</content>
</entry>
</feed>
