<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libssl/hidden/openssl, branch OPENBSD_7_8_BASE</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_8_BASE</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_8_BASE'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2024-08-31T10:51:48+00:00</updated>
<entry>
<title>Remove SSL_add_compression_method</title>
<updated>2024-08-31T10:51:48+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-08-31T10:51:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=a0ced14fec228fa0dfd2fa5d87c942b0af9326d8'/>
<id>urn:sha1:a0ced14fec228fa0dfd2fa5d87c942b0af9326d8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Prepare to provide SSL_CTX_set1_cert_store()</title>
<updated>2024-08-03T04:50:27+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-08-03T04:50:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=7ffee9d08a91191b5a4fb21336efef092b583c3e'/>
<id>urn:sha1:7ffee9d08a91191b5a4fb21336efef092b583c3e</id>
<content type='text'>
SSL_CTX_set_cert_store() should have been called SSL_CTX_set0_cert_store()
since it takes ownership of the store argument. Apparently a few people ran
into the issue of not bumping the refcount themselves, leading to use after
frees about 10 years ago. This is a quite rarely used API and there are no
misuses in the ports tree, but since someone did the work of writing a diff,
we can still add it.

Needless to say that SSL_CTX_get_cert_store() obviously has the exact same
issue and nobody seems to have thought of adding a get0 or get1 version to
match...

Fixes https://github.com/libressl/openbsd/issues/71
From Kenjiro Nakayama
</content>
</entry>
<entry>
<title>Prepare to provide SSL_CIPHER_get_handshake_digest()</title>
<updated>2024-07-14T15:39:36+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-07-14T15:39:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=e4ca538cbd7bb43768a6ebdf1fa7c4cd248be01b'/>
<id>urn:sha1:e4ca538cbd7bb43768a6ebdf1fa7c4cd248be01b</id>
<content type='text'>
Needed by newer freeradius. This is a straightforward implementation that
essentially duplicates tls13_cipher_hash().

ok jsing
</content>
</entry>
<entry>
<title>Remove SSL_debug</title>
<updated>2024-03-02T11:48:55+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-03-02T11:48:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=e9b5926a9507a5e2d6e5e20e64dba87cb811c1e0'/>
<id>urn:sha1:e9b5926a9507a5e2d6e5e20e64dba87cb811c1e0</id>
<content type='text'>
The garbage truck is quite full by now. Collect the last symbol
straggler for this bump.

ok jsing
</content>
</entry>
<entry>
<title>Remove SSL_CIPHER_get_by_{id,value}()</title>
<updated>2024-03-02T11:45:51+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-03-02T11:45:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=8e85295d10fd4886e1ba7260f0b7bc17674ccacc'/>
<id>urn:sha1:8e85295d10fd4886e1ba7260f0b7bc17674ccacc</id>
<content type='text'>
While this undocumented API would have been much nicer and saner than
SSL_CIPHER_find(), nothing used this except for the exporter test.
Let's get rid of it again. libssl uses ssl3_get_cipher_by_{id,value}()
directly.

ok jsing
</content>
</entry>
<entry>
<title>Export SSL_get_{peer_,}signature_type_nid()</title>
<updated>2024-03-02T11:44:47+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-03-02T11:44:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=e6ba1ba77c418a957100a7562bf08d1ab8eb012e'/>
<id>urn:sha1:e6ba1ba77c418a957100a7562bf08d1ab8eb012e</id>
<content type='text'>
Also move the prototypes to the correct header.

Oversight reported by Frank Lichtenheld, thanks!
Fixes https://github.com/libressl/openbsd/issues/147

ok jsing
</content>
</entry>
<entry>
<title>Set OPENSSL_NO_ENGINE, remove engine code</title>
<updated>2023-07-28T09:53:55+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-07-28T09:53:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b5382a6334a2ec0fe73ab6c49ebefb47af93329c'/>
<id>urn:sha1:b5382a6334a2ec0fe73ab6c49ebefb47af93329c</id>
<content type='text'>
ENGINE was special. It's horrible code even by the low standards of this
library. Some ports may now try to use the stubs which will fail, but
the fallout from this should be minimal. Of course there are various
language bindings that expose the ENGINE API. OpenSSL 3 disabling ENGINE
by default will likely help fixing this at some point.

ok jsing
</content>
</entry>
<entry>
<title>Hide all public symbols in libssl</title>
<updated>2023-07-08T16:40:14+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2023-07-08T16:40:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=fce75ad52c1586db1ba9f44c6be85668e7d4a110'/>
<id>urn:sha1:fce75ad52c1586db1ba9f44c6be85668e7d4a110</id>
<content type='text'>
With the guentherizer 9000

ok tb@
</content>
</entry>
<entry>
<title>upstream hidden file #include_next workaround for MS C compilers</title>
<updated>2023-07-05T21:14:54+00:00</updated>
<author>
<name>bcook</name>
<email></email>
</author>
<published>2023-07-05T21:14:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=78a308af2f74ee5b41c0815ab21ef9d01c1fcdd9'/>
<id>urn:sha1:78a308af2f74ee5b41c0815ab21ef9d01c1fcdd9</id>
<content type='text'>
ok beck@, tb@
</content>
</entry>
<entry>
<title>Add support for symbol hiding disabled by default.</title>
<updated>2022-11-11T11:25:18+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2022-11-11T11:25:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=0ba6b15619d4e4feafccdbd0226ee99b70553a11'/>
<id>urn:sha1:0ba6b15619d4e4feafccdbd0226ee99b70553a11</id>
<content type='text'>
Fully explained in libcrypto/README. TL;DR make sure libcrypto
and libssl's function calls internally and to each other are via
symbol names that won't get overridden by linking other libraries.

Mostly work by guenther@, which will currently be gated behind a
build setting NAMESPACE=yes. once we convert all the symbols to
this method we will do a major bump and pick up the changes.

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