<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/bio/bio_local.h, 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>2024-03-02T09:18:28+00:00</updated>
<entry>
<title>Remove BIO_{sn,v,vsn}printf(3)</title>
<updated>2024-03-02T09:18:28+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-03-02T09:18:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=624e55f48614f7c5aaa62d91eee54f0862c62db0'/>
<id>urn:sha1:624e55f48614f7c5aaa62d91eee54f0862c62db0</id>
<content type='text'>
Unsued printing functionality. If something should need this we can readily
add it back.

ok jsing
</content>
</entry>
<entry>
<title>Revert bio_prev removal</title>
<updated>2022-12-02T19:44:04+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-12-02T19:44:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=a24e48fc0fa4c6c759985c014000574a65d4d0a8'/>
<id>urn:sha1:a24e48fc0fa4c6c759985c014000574a65d4d0a8</id>
<content type='text'>
As schwarze points out, you can pop any BIO in a chain, not just the first
one (bonus points for a great name for this API).

The internal doubly linked was used to fix up the BIO chain bio was part
of when you BIO_pop() a bio that wasn't in the first position, which is
explicitly allowed in our documentation and implied by OpenSSL's.
</content>
</entry>
<entry>
<title>Retire prev_bio</title>
<updated>2022-11-28T07:50:00+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-11-28T07:50:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=12f76b76beacba6aead901d495f28742f55c8995'/>
<id>urn:sha1:12f76b76beacba6aead901d495f28742f55c8995</id>
<content type='text'>
While BIO chains are doubly linked lists, nothing has ever made use of this
fact internally. Even libssl has failed to maintain prev_bio properly in
two places for a long time. When BIO was made opaque, the opportunity to
fix that was missed. Instead, BIO_set_next() now allows breaking the lists
from outside the library, which freerdp has long done.

Problem found by schwarze while trying to document BIO_set_next().

schwarze likes the idea
ok jsing
</content>
</entry>
<entry>
<title>Implement new-style OpenSSL BIO callbacks</title>
<updated>2022-01-14T08:40:57+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-01-14T08:40:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=bf7beecb6c75655f21958cd52426578df3f1f307'/>
<id>urn:sha1:bf7beecb6c75655f21958cd52426578df3f1f307</id>
<content type='text'>
This provides support for new-style BIO callbacks in
BIO_{read,write,gets,puts}() and a helper function to
work out whether it should call the new or the old
style callback. It also adds a few typedefs and minor
code cleanup as well as the BIO_{get,set}_callback_ex()

from jsing, ok tb
</content>
</entry>
<entry>
<title>Make structs in bio.h opaque</title>
<updated>2022-01-14T08:18:55+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-01-14T08:18:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=0d97b61e5731530ddae73ec68940b695333cddb8'/>
<id>urn:sha1:0d97b61e5731530ddae73ec68940b695333cddb8</id>
<content type='text'>
Move BIO, BIO_METHOD and BIO_F_BUFFER_CTX to bio_local.h and provide
BIO typedef in ossl_typ.h.

ok inoguchi jsing
</content>
</entry>
<entry>
<title>Add a new, mostly empty, bio_local.h and include it in the files</title>
<updated>2022-01-07T09:02:18+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-01-07T09:02:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=1eb53a0fe0ea503fe673aa0a6e347e503090c429'/>
<id>urn:sha1:1eb53a0fe0ea503fe673aa0a6e347e503090c429</id>
<content type='text'>
that will need it in the upcoming bump.

discussed with jsing
</content>
</entry>
</feed>
