<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libtls/tls_util.c, 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>2026-03-10T05:26:04+00:00</updated>
<entry>
<title>use O_CLOEXEC; ok tb</title>
<updated>2026-03-10T05:26:04+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2026-03-10T05:26:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=71927d7dd981f6e0a9705dd2ddf5bc60abfbaeab'/>
<id>urn:sha1:71927d7dd981f6e0a9705dd2ddf5bc60abfbaeab</id>
<content type='text'>
</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>typo in comment</title>
<updated>2021-08-16T13:54:38+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2021-08-16T13:54:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=04e41504d4c620b934118a8ae9c2129f626a96c1'/>
<id>urn:sha1:04e41504d4c620b934118a8ae9c2129f626a96c1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Null out pointers on asprintf() failure.</title>
<updated>2019-04-13T18:47:58+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2019-04-13T18:47:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=22aa80a8806f00247678b585c491dcd94a5e7b3f'/>
<id>urn:sha1:22aa80a8806f00247678b585c491dcd94a5e7b3f</id>
<content type='text'>
These pointers will be passed to free. According to asprintf(3), "on
OpenBSD, ret will be set to the null pointer, but this behavior should
not be relied upon."

ok jsing
</content>
</entry>
<entry>
<title>Only assign destlen when src is non-NULL.</title>
<updated>2019-04-04T15:10:10+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2019-04-04T15:10:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=5dd1c6b96f9dc9a54b9f610ec892e291593d83b6'/>
<id>urn:sha1:5dd1c6b96f9dc9a54b9f610ec892e291593d83b6</id>
<content type='text'>
This avoids ever having a non-zero len with a NULL pointer.
</content>
</entry>
<entry>
<title>Assert tedu's copyright since some of the code moved here is his.</title>
<updated>2018-02-08T07:55:29+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2018-02-08T07:55:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=20d3f0b613b887234b6a954c2ca54d79098b3cf5'/>
<id>urn:sha1:20d3f0b613b887234b6a954c2ca54d79098b3cf5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Split keypair handling out into its own file - it had already appeared</title>
<updated>2018-02-08T05:56:49+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2018-02-08T05:56:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=8a01a8361d1add29153f53a3721130f62d3d4389'/>
<id>urn:sha1:8a01a8361d1add29153f53a3721130f62d3d4389</id>
<content type='text'>
in multiple locations.

ok beck@
</content>
</entry>
<entry>
<title>Be consistent with the goto label names used in libtls code.</title>
<updated>2018-02-05T00:52:24+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2018-02-05T00:52:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=bc472499298f03ebe5c71920633cfa2b20046c93'/>
<id>urn:sha1:bc472499298f03ebe5c71920633cfa2b20046c93</id>
<content type='text'>
No change to generated assembly.
</content>
</entry>
<entry>
<title>Use the tls_password_cb() callback with all PEM_read_bio_*() calls, so that</title>
<updated>2017-06-22T18:03:57+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2017-06-22T18:03:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c9b1852dc910671bb8042219d73820d7a47138dd'/>
<id>urn:sha1:c9b1852dc910671bb8042219d73820d7a47138dd</id>
<content type='text'>
we can prevent libcrypto from going behind our back and trying to read
passwords from standard input (which we may not be permitted to do).

Found by jsg@ with httpd and password protected keys.
</content>
</entry>
<entry>
<title>Use freezero() for the tls_load_file() failure case, since we're</title>
<updated>2017-05-06T21:34:13+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2017-05-06T21:34:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=f800e2af932fc15fd1b0f859931d131037126b37'/>
<id>urn:sha1:f800e2af932fc15fd1b0f859931d131037126b37</id>
<content type='text'>
potentially dealing with key material. Also switch a calloc to malloc,
since we immediately copy the same amount of data to the newly allocated
buffer.
</content>
</entry>
</feed>
