<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/x509/by_file.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-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>const correct X509_LOOKUP_METHOD</title>
<updated>2024-08-31T10:19:17+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-08-31T10:19:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=d64314baed3e30b9cf75f58caf085b356a3f6d2f'/>
<id>urn:sha1:d64314baed3e30b9cf75f58caf085b356a3f6d2f</id>
<content type='text'>
With this another family of global tables becomes const as it should
always have been.

ok beck jsing
</content>
</entry>
<entry>
<title>Remove unused X509_LOOKUP_METHODs</title>
<updated>2023-12-25T22:14:23+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-12-25T22:14:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=242a046bef09576e509ed521d7e6ac2c279faf7e'/>
<id>urn:sha1:242a046bef09576e509ed521d7e6ac2c279faf7e</id>
<content type='text'>
None of these function pointers were ever set. Now that the structure is
opaque they won't ever be, so time for them to hit the bitbucket. Infinite
extensibility of the toolkit results in complications, bugs, and dead code.

ok jsing
</content>
</entry>
<entry>
<title>Clean up and de-spaghettize by_file_callback</title>
<updated>2023-11-30T17:01:04+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2023-11-30T17:01:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=f3769bfa34b0b9ec972b18db6e859d5ee33a9d5a'/>
<id>urn:sha1:f3769bfa34b0b9ec972b18db6e859d5ee33a9d5a</id>
<content type='text'>
I had to read this for other purposes and it exceeded my muppetry
tolerance.

ok tb@
</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>If X509_load_cert_crl_file(3) does not find any certificates</title>
<updated>2021-11-10T13:57:42+00:00</updated>
<author>
<name>schwarze</name>
<email></email>
</author>
<published>2021-11-10T13:57:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=4ad963dd22e961a774e355b72d22c97240ce5c38'/>
<id>urn:sha1:4ad963dd22e961a774e355b72d22c97240ce5c38</id>
<content type='text'>
and/or CRLs in the PEM input file (for example, if the file
is empty), provide an error message in addition to returning 0.

This merges another part of this OpenSSL commit,
which is still under a free license:

  commit c0452248ea1a59a41023a4765ef7d9825e80a62b
  Author: Rich Salz &lt;rsalz@openssl.org&gt;
  Date:   Thu Apr 20 15:33:42 2017 -0400

I did *not* add the similar message types X509_R_NO_CERTIFICATE_FOUND
and X509_R_NO_CRL_FOUND because both code inspection and testing
have shown that the code generating them is unreachable.

OK tb@
</content>
</entry>
<entry>
<title>Sync some code style improvements from the OpenSSL 1.1.1 branch,</title>
<updated>2021-11-10T09:19:25+00:00</updated>
<author>
<name>schwarze</name>
<email></email>
</author>
<published>2021-11-10T09:19:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=59ed3cb10da6ca313db2f76c371073f1db64cb1c'/>
<id>urn:sha1:59ed3cb10da6ca313db2f76c371073f1db64cb1c</id>
<content type='text'>
which is still under a free license.  No functional change.

- No need to #include &lt;openssl/lhash.h&gt; here.
- return is not a function.
- Do not use the pointless macro BIO_s_file_internal().
- No need to check for NULL before X509_CRL_free(3).

This includes parts of the following OpenSSL commits from
the 2015 to 2017 timeframe: 222561fe, 9982cbbb, f32b0abe, 26a7d938

OK tb@
</content>
</entry>
<entry>
<title>Merge two bug fixes from the OpenSSL 1.1.1 branch, which is still</title>
<updated>2021-11-10T09:00:21+00:00</updated>
<author>
<name>schwarze</name>
<email></email>
</author>
<published>2021-11-10T09:00:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=55467db80ad5175dbedeef72e2591c1bca714269'/>
<id>urn:sha1:55467db80ad5175dbedeef72e2591c1bca714269</id>
<content type='text'>
under a free license:

1. If the three X509_load_*(3) functions are called with a NULL
file argument, do not return 1 to the caller because the return
value 1 means "i loaded one certificate or CRL into the store".

2. When calling PEM load functions, do not ask the user for a
password in an interactive manner.

This includes parts of the following commits:

  commit   c0452248ea1a59a41023a4765ef7d9825e80a62b
  Author:  Rich Salz &lt;rsalz@openssl.org&gt;
  Date:    Thu Apr 20 15:33:42 2017 -0400
  Message: [...] Remove NULL checks and allow a segv to occur. [...]

  commit   db854bb14a7010712cfc02861731399b1b587474
  Author:  Bernd Edlinger &lt;bernd.edlinger@hotmail.de&gt;
  Date:    Mon Aug 7 18:02:53 2017 +0200
  Message: Avoid surpising password dialog in X509 file lookup.

OK tb@
</content>
</entry>
</feed>
