<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/stack, branch libressl-v3.9.1</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=libressl-v3.9.1</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=libressl-v3.9.1'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2024-03-02T11:22:48+00:00</updated>
<entry>
<title>Remove a few no longer used sk_FOO_* stanzas</title>
<updated>2024-03-02T11:22:48+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-03-02T11:22:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=5be6fed8afd6b03e5a92d68881bc11c7ae195c16'/>
<id>urn:sha1:5be6fed8afd6b03e5a92d68881bc11c7ae195c16</id>
<content type='text'>
ok jsing
</content>
</entry>
<entry>
<title>Remove sk_find_ex()</title>
<updated>2024-03-02T11:20:36+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-03-02T11:20:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b56b72805aa516348080e8769435cb6cae2c3c5d'/>
<id>urn:sha1:b56b72805aa516348080e8769435cb6cae2c3c5d</id>
<content type='text'>
This API intends to find the closest match to the needle. M2Crypto
exposes it because it can. This will be fixed by patching the port.

ok jsing
</content>
</entry>
<entry>
<title>Make LHASH_OF() and STACK_OF() use opaque structs</title>
<updated>2024-03-02T11:11:11+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-03-02T11:11:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=26367add3db68a3e89bda58a3c85174507f8e71a'/>
<id>urn:sha1:26367add3db68a3e89bda58a3c85174507f8e71a</id>
<content type='text'>
This removes internals of these two special snowflakes and will allow
further simplifications. Unfortunately, there are some pieces of
software that actually use LHASH_OF() (looking at you, pound, Ruby, and
openssl(1)), so we get to keep exposing this garbage, at least for now.

Expose lh_error() as a symbol to replace a macro reaching into _LHASH.
lh_down_load() is no longer available. _LHASH and _STACK are now opaque,
LHASH_NODE becomes internal-only.

from jsing
</content>
</entry>
<entry>
<title>Remove lh stats</title>
<updated>2024-03-02T11:04:52+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-03-02T11:04:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=792421b3f220abcbd1405485edc9bf6b39485769'/>
<id>urn:sha1:792421b3f220abcbd1405485edc9bf6b39485769</id>
<content type='text'>
This could have been removed in an earlier bump. Now it's time for it to
say goodbye.

ok jsing
</content>
</entry>
<entry>
<title>Remove OBJ_bsearch_()</title>
<updated>2024-03-02T09:47:16+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-03-02T09:47:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=348fad0a9df90c576a11c7beeef17fa70cae611f'/>
<id>urn:sha1:348fad0a9df90c576a11c7beeef17fa70cae611f</id>
<content type='text'>
The only reason this has still been part of the public API was that libssl
used it for cipher lookup. This was fixed by replacing the lookup by proper
bsearch() -- why OpenSSL felt the need to reinvent ANSI C API badly will
forever remain a mystery.

The stack code in libcrypto still uses a version of this. This should
be rewritten. It will be a bit easier once sk_find_ex() is removed.

ok jsing
</content>
</entry>
<entry>
<title>Neuter OBJ_bsearch{_,ex_}()</title>
<updated>2024-02-26T15:00:30+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-02-26T15:00:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=d205418700609e87c645eee6eb8de486ec6bd3e3'/>
<id>urn:sha1:d205418700609e87c645eee6eb8de486ec6bd3e3</id>
<content type='text'>
Make these functions always fail. A copy of OBJ_bsearch_ex_() is kept
in stack.c, where it is still used by internal_find() for sk_find{,_ex}().
sk_find_ex() will be removed in the upcoming bump, and then we can
simplify or rewrite what's still needed.

ok jsing
</content>
</entry>
<entry>
<title>Move errno.h inclusion where it belongs</title>
<updated>2024-01-13T16:32:53+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-01-13T16:32:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=57a28941bbce23a414e2b776503f38ed95263106'/>
<id>urn:sha1:57a28941bbce23a414e2b776503f38ed95263106</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove unused sk/lh macros</title>
<updated>2023-08-03T16:32:15+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-08-03T16:32:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=989b85313f728b0b870dc707bb338a96ca53eee3'/>
<id>urn:sha1:989b85313f728b0b870dc707bb338a96ca53eee3</id>
<content type='text'>
ok jsing miod
</content>
</entry>
<entry>
<title>Remove sk_nid_triple_*()</title>
<updated>2023-07-28T10:26:33+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-07-28T10:26:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=2bca7fcf4242f1f10d0b696c606387ec84d6ccd0'/>
<id>urn:sha1:2bca7fcf4242f1f10d0b696c606387ec84d6ccd0</id>
<content type='text'>
The nid_triple stack is no more. Its type never was part of the public API.
Why its stack macros were will remain a mystery.

ok jsing
</content>
</entry>
<entry>
<title>Make ex_data implementations internal</title>
<updated>2023-07-28T10:19:20+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-07-28T10:19:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=df077cec5ce229b03845385f6f75dbe7cd5f7080'/>
<id>urn:sha1:df077cec5ce229b03845385f6f75dbe7cd5f7080</id>
<content type='text'>
To state the obvious: library suffers from way too much extensibility. In
theory, applications can implement their own ex_data implementation. In
practice, none did. A glance at ex_data.c might give an idea as to why.
Make this internal so this particular turd can be replaced with something
slightly saner.

Also sync up the CRYPTO_EX_INDEX_* defines with OpenSSL - at least
the parts we support.

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