<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libtls/man/tls_load_file.3, 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>2025-07-07T10:54:00+00:00</updated>
<entry>
<title>.Lb libtls libssl libcrypto</title>
<updated>2025-07-07T10:54:00+00:00</updated>
<author>
<name>schwarze</name>
<email></email>
</author>
<published>2025-07-07T10:54:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=800b400429130c255973b130ac2376970630d5e9'/>
<id>urn:sha1:800b400429130c255973b130ac2376970630d5e9</id>
<content type='text'>
OK tb@ and no objection from tedu@
</content>
</entry>
<entry>
<title>contibutions -&gt; contributions</title>
<updated>2022-01-01T02:18:28+00:00</updated>
<author>
<name>jsg</name>
<email></email>
</author>
<published>2022-01-01T02:18:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=e0b952fc7cccf4861f154522a0359428d82729e8'/>
<id>urn:sha1:e0b952fc7cccf4861f154522a0359428d82729e8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>zap wonky commas;</title>
<updated>2021-06-22T20:01:19+00:00</updated>
<author>
<name>jmc</name>
<email></email>
</author>
<published>2021-06-22T20:01:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=3650508f3facd1163d6549d6fab59a6f81db17d2'/>
<id>urn:sha1:3650508f3facd1163d6549d6fab59a6f81db17d2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Clarify tls_config_set_*_file() file I/O semantics</title>
<updated>2021-06-22T17:59:48+00:00</updated>
<author>
<name>kn</name>
<email></email>
</author>
<published>2021-06-22T17:59:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=7464c3881edf2f952d355d3ed4e23a63ef9051fa'/>
<id>urn:sha1:7464c3881edf2f952d355d3ed4e23a63ef9051fa</id>
<content type='text'>
tls_config_set_*_file(3) do not just set the file paths like
tls_config_set_*_path(3) do, they do load the given file(s) into memory
directly using tls_config_load_file().

This distinction is important because it means a later tls_connect(3)
will not do any file I/O (at least wrt. those files), which is relevant when
for example pleding without "[rwc]path" after loading files into memory and
before doing tls_connect(3).

The manual's current wording made me use the following due to above way of
pledging a program:
	tls_load_file()
	tls_config_set_ca_mem()
	tls_unload_file()

While in fact a single tls_config_set_ca_file() call does the same.

tls_config.c r1.26 (Aug 2016) change the code but forgot to amend the manual
as noted by tb, thanks.

Feedback OK tb
</content>
</entry>
<entry>
<title>expose the default cert file as a function, not a define. it's really</title>
<updated>2018-11-29T14:24:23+00:00</updated>
<author>
<name>tedu</name>
<email></email>
</author>
<published>2018-11-29T14:24:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=6dee83d0efd9b6a0e45f73737efb9078aafbdd15'/>
<id>urn:sha1:6dee83d0efd9b6a0e45f73737efb9078aafbdd15</id>
<content type='text'>
an internal detail of the library, so the string should live inside it,
not in the application code.
ok jsing
</content>
</entry>
<entry>
<title>typo in argument type, from Mario dot Andres dot Campos at gmail dot com</title>
<updated>2018-08-21T00:35:55+00:00</updated>
<author>
<name>schwarze</name>
<email></email>
</author>
<published>2018-08-21T00:35:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=55bad82f410ba3dfdac2b650c51b16967e5ee1f6'/>
<id>urn:sha1:55bad82f410ba3dfdac2b650c51b16967e5ee1f6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>hyphenate DER/PEM-encoded, for consistency;</title>
<updated>2017-10-08T06:56:36+00:00</updated>
<author>
<name>jmc</name>
<email></email>
</author>
<published>2017-10-08T06:56:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=7819e9da1462ce9c60996aaf73ca0c06f0a2424b'/>
<id>urn:sha1:7819e9da1462ce9c60996aaf73ca0c06f0a2424b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>correct function name;</title>
<updated>2017-08-01T08:41:36+00:00</updated>
<author>
<name>jmc</name>
<email></email>
</author>
<published>2017-08-01T08:41:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=be4273fa744362600b6734c891d53093f1b0f8bd'/>
<id>urn:sha1:be4273fa744362600b6734c891d53093f1b0f8bd</id>
<content type='text'>
from carlos cardenas
</content>
</entry>
<entry>
<title>Document tls_config_set_crl_file() and tls_config_set_crl_mem().</title>
<updated>2017-07-06T17:27:19+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2017-07-06T17:27:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=bafcff4a3b028a010846e8740bb2aaa4fd74c94e'/>
<id>urn:sha1:bafcff4a3b028a010846e8740bb2aaa4fd74c94e</id>
<content type='text'>
Based on a diff from Jack Burton &lt;jack at saosce dot com dot au&gt;, thanks!
</content>
</entry>
<entry>
<title>Document tls_unload_file().</title>
<updated>2017-05-06T21:06:19+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2017-05-06T21:06:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c0b7f3593677b65e12109166ed6a459abc668e51'/>
<id>urn:sha1:c0b7f3593677b65e12109166ed6a459abc668e51</id>
<content type='text'>
</content>
</entry>
</feed>
