<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/lhash, branch OPENBSD_7_5</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_5</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_5'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2024-05-11T02:18:20+00:00</updated>
<entry>
<title>A missing bounds check could lead to a crash due to dereferencing a zero-sized</title>
<updated>2024-05-11T02:18:20+00:00</updated>
<author>
<name>mlarkin</name>
<email></email>
</author>
<published>2024-05-11T02:18:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=25d3c6e06e273c86e0723ef285156c596d2f27e4'/>
<id>urn:sha1:25d3c6e06e273c86e0723ef285156c596d2f27e4</id>
<content type='text'>
allocation.

this is errata/7.5/003_libcrypto.patch.sig
</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>Make it safe to delete entries from an lhash doall callback.</title>
<updated>2024-01-24T14:02:52+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2024-01-24T14:02:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=43687ee924fc2437d5b22b75c6b497ef06c60e4a'/>
<id>urn:sha1:43687ee924fc2437d5b22b75c6b497ef06c60e4a</id>
<content type='text'>
Currently, the callback cannot safely delete entries as it could lead to
contraction of the hash table, which in turn could lead to doall skipping
entries (and that typically leads to memory leaks). The recommended
workaround is to reach in and fiddle with the hash table internals in
order to prevent contraction, call the doall function and then restore
the internals that were changed.

Rather than just improving our documentation, actually make it safe to
delete entries from an lhash doall callback by pausing contractions prior
to starting the callback loop, then restoring the down load factor and
triggering contraction once completed. This means that callers no longer
need access to change hash table internals in order to achieve this same
behaviour.

ok tb@
</content>
</entry>
<entry>
<title>Hide symbols in lhash, pem, and rc2</title>
<updated>2023-07-07T13:40:44+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2023-07-07T13:40:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=1355f5b75c135c6bbe53ddedd21c86e2952b9895'/>
<id>urn:sha1:1355f5b75c135c6bbe53ddedd21c86e2952b9895</id>
<content type='text'>
ok jsing@
</content>
</entry>
<entry>
<title>Stop the eyebleed in here and just use calloc</title>
<updated>2019-05-12T00:09:59+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2019-05-12T00:09:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=ad05e338cf6490eab27bddce9a488c0af13ad7e3'/>
<id>urn:sha1:ad05e338cf6490eab27bddce9a488c0af13ad7e3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use more homogeneous types and avoid a possible right shift by 32 in</title>
<updated>2016-11-08T20:20:06+00:00</updated>
<author>
<name>miod</name>
<email></email>
</author>
<published>2016-11-08T20:20:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=e4634bff5bb1923588c280b2a7eb67b2365ebd69'/>
<id>urn:sha1:e4634bff5bb1923588c280b2a7eb67b2365ebd69</id>
<content type='text'>
lh_strhash().

ok guenther@
</content>
</entry>
<entry>
<title>Only import cryptlib.h in the four source files that actually need it.</title>
<updated>2014-07-11T08:44:49+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2014-07-11T08:44:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=74e2c009c83ad374bd6acdcfc376a384e25ab007'/>
<id>urn:sha1:74e2c009c83ad374bd6acdcfc376a384e25ab007</id>
<content type='text'>
Remove the openssl public includes from cryptlib.h and add a small number
of includes into the source files that actually need them. While here,
also sort/group/tidy the includes.

ok beck@ miod@
</content>
</entry>
<entry>
<title>Explicitly include &lt;openssl/opensslconf.h&gt; in every file that references</title>
<updated>2014-07-10T22:45:58+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2014-07-10T22:45:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=62348213609ef233110561d1a6ed67ad66df1c7e'/>
<id>urn:sha1:62348213609ef233110561d1a6ed67ad66df1c7e</id>
<content type='text'>
an OPENSSL_NO_* define. This avoids relying on something else pulling it
in for us, plus it fixes several cases where the #ifndef OPENSSL_NO_XYZ is
never going to do anything, since OPENSSL_NO_XYZ will never defined, due
to the fact that opensslconf.h has not been included.

This also includes some miscellaneous sorting/tidying of headers.
</content>
</entry>
<entry>
<title>remove unused, private version strings except SSL_version_str</title>
<updated>2014-07-09T11:10:51+00:00</updated>
<author>
<name>bcook</name>
<email></email>
</author>
<published>2014-07-09T11:10:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=0563b5d49da5a96960925938b3e4f3152e6f5c92'/>
<id>urn:sha1:0563b5d49da5a96960925938b3e4f3152e6f5c92</id>
<content type='text'>
Also remove unused des_ver.h, which exports some of these strings, but is not installed.

ok miod@ tedu@
</content>
</entry>
</feed>
