<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libtls/tls_bio_cb.c, branch OPENBSD_7_9</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_9</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_9'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2024-03-26T06:24:52+00:00</updated>
<entry>
<title>Add error code support to libtls</title>
<updated>2024-03-26T06:24:52+00:00</updated>
<author>
<name>joshua</name>
<email></email>
</author>
<published>2024-03-26T06:24:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=bd68c6e1694d8d4eb801f32889da4cdde0b3c311'/>
<id>urn:sha1:bd68c6e1694d8d4eb801f32889da4cdde0b3c311</id>
<content type='text'>
This adds tls_config_error_code() and tls_error_code(), which will become
public API at a later date.

Additional error codes will be added in follow-up commits.

ok jsing@ beck@
</content>
</entry>
<entry>
<title>add missing #include &lt;string.h&gt;; ok tb@</title>
<updated>2023-05-14T07:26:25+00:00</updated>
<author>
<name>op</name>
<email></email>
</author>
<published>2023-05-14T07:26:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=751c792967481bc8add0d09d060248a9d59cfadf'/>
<id>urn:sha1:751c792967481bc8add0d09d060248a9d59cfadf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Convert tls_bio_cb for opaque BIO</title>
<updated>2022-01-10T23:39:48+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-01-10T23:39:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=4f0cc9e9c571da9cb2829afb6bf7c5afbc30a0af'/>
<id>urn:sha1:4f0cc9e9c571da9cb2829afb6bf7c5afbc30a0af</id>
<content type='text'>
joint with jsing
</content>
</entry>
<entry>
<title>Inline strlen() call to reduce/simplify code.</title>
<updated>2017-01-12T16:18:39+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2017-01-12T16:18:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=3c81f613c5bde56eafdf22727a83051f146e9ba8'/>
<id>urn:sha1:3c81f613c5bde56eafdf22727a83051f146e9ba8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Inline tls_get_new_cb_bio() from the only place that it gets called,</title>
<updated>2017-01-12T16:17:22+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2017-01-12T16:17:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=962789d231902058f14a8357f288b49d250702eb'/>
<id>urn:sha1:962789d231902058f14a8357f288b49d250702eb</id>
<content type='text'>
simplifying the code. Also check the provided read and write callbacks
before assigning to the context.
</content>
</entry>
<entry>
<title>Simplify the TLS callback BIO code - a pointer to the tls context can be</title>
<updated>2017-01-12T16:08:49+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2017-01-12T16:08:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=95477ffca55da967e201aa6e52034ec946a305bd'/>
<id>urn:sha1:95477ffca55da967e201aa6e52034ec946a305bd</id>
<content type='text'>
stored directly in bio-&gt;ptr, rather than allocating and deallocating an
intermediate struct.

Diff from Marko Kreen &lt;markokr at gmail dot com&gt; - thanks!
</content>
</entry>
<entry>
<title>If tls_get_new_cb_bio() fails, an error will already be set.</title>
<updated>2017-01-12T16:01:47+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2017-01-12T16:01:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=2d744da67cee983335ad63941e83cc9ed33245d1'/>
<id>urn:sha1:2d744da67cee983335ad63941e83cc9ed33245d1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>If no callbacks are specified, return after setting an error rather than</title>
<updated>2017-01-12T15:58:56+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2017-01-12T15:58:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=44fc063b89c19cd6400d2711812fdff697d493c6'/>
<id>urn:sha1:44fc063b89c19cd6400d2711812fdff697d493c6</id>
<content type='text'>
continuing on.

Also noticed by Marko Kreen.
</content>
</entry>
<entry>
<title>Assign and test, as is consistent with the rest of the libtls code.</title>
<updated>2016-11-04T15:45:55+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2016-11-04T15:45:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=fa8d5de1e86966537a9cf4a380d4f9cc64f56935'/>
<id>urn:sha1:fa8d5de1e86966537a9cf4a380d4f9cc64f56935</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use a consistent name for struct bio_cb * variables.</title>
<updated>2016-11-04T15:43:46+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2016-11-04T15:43:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=349092616c103ba78011db11fdf4dd0a80df6c7a'/>
<id>urn:sha1:349092616c103ba78011db11fdf4dd0a80df6c7a</id>
<content type='text'>
</content>
</entry>
</feed>
