<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/pkcs7/pk7_lib.c, branch OPENBSD_7_9</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_9</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_9'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2025-05-10T05:54:39+00:00</updated>
<entry>
<title>Use err_local.h rather than err.h in most places</title>
<updated>2025-05-10T05:54:39+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2025-05-10T05:54:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=41e8f99dd1625a9f0c80ce9d4383e95b18e85709'/>
<id>urn:sha1:41e8f99dd1625a9f0c80ce9d4383e95b18e85709</id>
<content type='text'>
ok jsing
</content>
</entry>
<entry>
<title>Fix previous and thus regress failures reported by anton</title>
<updated>2024-12-06T07:10:20+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-12-06T07:10:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=efb6ab0b6b8c30bb5a2c3ae24da1430f038ca990'/>
<id>urn:sha1:efb6ab0b6b8c30bb5a2c3ae24da1430f038ca990</id>
<content type='text'>
Looks like I applied the diff to a dirty tree and didn't notice.
</content>
</entry>
<entry>
<title>Apply a little bit of lipstick to PKCS7</title>
<updated>2024-12-05T07:35:46+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-12-05T07:35:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=19fcae1de631980ee7501ea7557a9997f12ea640'/>
<id>urn:sha1:19fcae1de631980ee7501ea7557a9997f12ea640</id>
<content type='text'>
Makes the setting and getting of detached signatures more symmetric
and avoids a NULL access.

ok jsing
</content>
</entry>
<entry>
<title>Forgot to fix the RFC number in the new comment</title>
<updated>2023-11-09T19:08:07+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-11-09T19:08:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=6663cdc1da1880b08eb1e374997c22892bd0e407'/>
<id>urn:sha1:6663cdc1da1880b08eb1e374997c22892bd0e407</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Convert PKCS7_SIGNER_INFO_set() to X509_ALGOR_set0_by_nid()</title>
<updated>2023-11-09T19:00:53+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-11-09T19:00:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=efa83e8b7e6299bbebd3ad2f680ed137acfca9e7'/>
<id>urn:sha1:efa83e8b7e6299bbebd3ad2f680ed137acfca9e7</id>
<content type='text'>
This is a straightforward conversion because I'm not going to start a
cleanup here. Explain why this is not using X509_ALGOR_set_md(). See
below.

ok jca

Let me include a beautiful note from RFC 5754 in its entirety:

   NOTE: There are two possible encodings for the AlgorithmIdentifier
   parameters field associated with these object identifiers.  The two
   alternatives arise from the loss of the OPTIONAL associated with the
   algorithm identifier parameters when the 1988 syntax for
   AlgorithmIdentifier was translated into the 1997 syntax.  Later, the
   OPTIONAL was recovered via a defect report, but by then many people
   thought that algorithm parameters were mandatory.  Because of this
   history, some implementations encode parameters as a NULL element
   while others omit them entirely.  The correct encoding is to omit the
   parameters field; however, when some uses of these algorithms were
   defined, it was done using the NULL parameters rather than absent
   parameters.  For example, PKCS#1 [RFC3447] requires that the padding
   used for RSA signatures (EMSA-PKCS1-v1_5) MUST use SHA2
   AlgorithmIdentifiers with NULL parameters (to clarify, the
   requirement "MUST generate SHA2 AlgorithmIdentifiers with absent
   parameters" in the previous paragraph does not apply to this
   padding).
</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 symbols in libcrypto/pkcs7</title>
<updated>2022-11-12T12:11:14+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2022-11-12T12:11:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b36647beb9eb198e8bc1c6e20dbd475845bf6612'/>
<id>urn:sha1:b36647beb9eb198e8bc1c6e20dbd475845bf6612</id>
<content type='text'>
This applies the guentherizer 9000(tm) to pkcs7, after moving
several pkcs7 funcitions back to pkcs7 that were in x509/x_all.c
for reasons known only to the miasma.

ok jsing@
</content>
</entry>
<entry>
<title>Include evp_locl.h where it will be needed once most structs from</title>
<updated>2021-12-12T21:30:14+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2021-12-12T21:30:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b632ec4f99386efc52214c580c9f233748302224'/>
<id>urn:sha1:b632ec4f99386efc52214c580c9f233748302224</id>
<content type='text'>
evp.h will be moved to evp_locl.h in an upcoming bump.

ok inoguchi
</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>
