<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/err, branch OPENBSD_7_7</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_7</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_7'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2025-03-09T15:12:18+00:00</updated>
<entry>
<title>Support OPENSSL_NO_FILENAMES</title>
<updated>2025-03-09T15:12:18+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2025-03-09T15:12:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b8acfd2983c50474382bf8ed132a5b7e7bdedb34'/>
<id>urn:sha1:b8acfd2983c50474382bf8ed132a5b7e7bdedb34</id>
<content type='text'>
Some people are concerned that leaking a user name is a privacy issue.
Allow disabling the __FILE__ and __LINE__ argument in the error stack
to avoid this. This can be improved a bit in tree.

From Viktor Szakats in https://github.com/libressl/portable/issues/761

ok bcook jsing
</content>
</entry>
<entry>
<title>Assert assumption on CRYPTO_THREADID</title>
<updated>2024-11-02T12:46:36+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-11-02T12:46:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=18d63435aab73597d2a0cd7bef349030489065b9'/>
<id>urn:sha1:18d63435aab73597d2a0cd7bef349030489065b9</id>
<content type='text'>
This type has been opaque for a while, and nobody should be able to call
this function with id != NULL. If they do, we want to know and it should
be noisy.

suggested by/ok jsing
</content>
</entry>
<entry>
<title>Inline last uses of CRYPTO_THREADID in err/</title>
<updated>2024-11-02T08:54:40+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-11-02T08:54:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=4189cdb071f900e952175558138d12e220b66514'/>
<id>urn:sha1:4189cdb071f900e952175558138d12e220b66514</id>
<content type='text'>
This is another Thorpian obfuscation scheme hiding nasty casts of
pthread_t to unsigned long and comparing them. We can do this in
a less underhanded way by calling the portable functions directly.

ok jsing
</content>
</entry>
<entry>
<title>err.c: zap stray space</title>
<updated>2024-10-11T13:32:22+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-10-11T13:32:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b54f6f5ac0019580ccc0312b54fc7b91a61698c5'/>
<id>urn:sha1:b54f6f5ac0019580ccc0312b54fc7b91a61698c5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Apply some style(9) and tidy some comments.</title>
<updated>2024-10-11T12:40:25+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2024-10-11T12:40:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b82588e1fe514eeb47cd772278ef0695046460d0'/>
<id>urn:sha1:b82588e1fe514eeb47cd772278ef0695046460d0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove pointless locking from err_build_SYS_str_reasons().</title>
<updated>2024-10-11T12:27:24+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2024-10-11T12:27:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=08a0fc6106e3b865865a17f29840c44004535ce3'/>
<id>urn:sha1:08a0fc6106e3b865865a17f29840c44004535ce3</id>
<content type='text'>
err_build_SYS_str_reasons() is only called during initialisation, under
pthread_once(). As such, there is no need to grab CRYPTO_LOCK_ERR or
check for reentrant calls.

ok tb@
</content>
</entry>
<entry>
<title>Convert err_clear_data() and err_clear() from macros to functions.</title>
<updated>2024-10-11T12:25:05+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2024-10-11T12:25:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=414f7c4d1d08dddf9f974112cd59112e83a5dfb4'/>
<id>urn:sha1:414f7c4d1d08dddf9f974112cd59112e83a5dfb4</id>
<content type='text'>
ok tb@
</content>
</entry>
<entry>
<title>Remove unused typedef for ERR_FNS.</title>
<updated>2024-10-11T12:20:06+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2024-10-11T12:20:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=94855340006abd70a2b21020511dd2f3e58ff14b'/>
<id>urn:sha1:94855340006abd70a2b21020511dd2f3e58ff14b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add err_ prefix to build_SYS_str_reasons().</title>
<updated>2024-10-11T12:19:35+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2024-10-11T12:19:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=3d031633e4071af2538ce20ec0d28b60d9d6f478'/>
<id>urn:sha1:3d031633e4071af2538ce20ec0d28b60d9d6f478</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make ERR_str_{libraries,reasons,functs}[] const.</title>
<updated>2024-10-11T12:10:12+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2024-10-11T12:10:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=3a9e735b6ec031e5d5ba69def58b3876e06613eb'/>
<id>urn:sha1:3a9e735b6ec031e5d5ba69def58b3876e06613eb</id>
<content type='text'>
Provide err_load_const_strings(), which takes a const ERR_STRING_DATA *
and does not perform a library error value fixup. Make ERR_str_*[] tables
const.

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