<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/x509/x509_set.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>2024-03-26T23:21:36+00:00</updated>
<entry>
<title>Drop superfluous parentheses in X509_set_version()</title>
<updated>2024-03-26T23:21:36+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-03-26T23:21:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=562088acca5714191c5fedc46609150818a2f32b'/>
<id>urn:sha1:562088acca5714191c5fedc46609150818a2f32b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>piuid and psuid have annoyed me for long enough</title>
<updated>2024-03-26T22:44:57+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-03-26T22:44:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=8f862d221d8ed5b937f6c2a1ceafca0d3bf4ec7c'/>
<id>urn:sha1:8f862d221d8ed5b937f6c2a1ceafca0d3bf4ec7c</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>Remove some redundant parentheses</title>
<updated>2023-06-23T08:00:28+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-06-23T08:00:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=019741047fcbb874606e4cdfb0790b30d9b4d504'/>
<id>urn:sha1:019741047fcbb874606e4cdfb0790b30d9b4d504</id>
<content type='text'>
This file is already enough of an eyesore without them.
</content>
</entry>
<entry>
<title>Invalidate the DER cache earlier on in X509 setter functions</title>
<updated>2023-04-25T10:18:39+00:00</updated>
<author>
<name>job</name>
<email></email>
</author>
<published>2023-04-25T10:18:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=a7ab3f86f72f0e59addfebe37655ccb1adf3ede5'/>
<id>urn:sha1:a7ab3f86f72f0e59addfebe37655ccb1adf3ede5</id>
<content type='text'>
Note that it is important to invalidate the cache before returning,
as the return might bubble up an error.

OK tb@ jsing@
</content>
</entry>
<entry>
<title>Introduce X509_get0_uids() accessor function</title>
<updated>2023-02-23T18:12:32+00:00</updated>
<author>
<name>job</name>
<email></email>
</author>
<published>2023-02-23T18:12:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=45e10d130dd01f514cf8227acec3008ab3fa9b98'/>
<id>urn:sha1:45e10d130dd01f514cf8227acec3008ab3fa9b98</id>
<content type='text'>
By introducing X509_get0_uids(), one can add RPKI profile compliance
checks to conform the absence of the issuerUID and subjectUID.

OK tb@ 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>
</feed>
