<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/asn1/a_string.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>2025-05-10T05:54:39+00:00</updated>
<entry>
<title>Use err_local.h rather than err.h in most places</title>
<updated>2025-05-10T05:54:39+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2025-05-10T05:54:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=41e8f99dd1625a9f0c80ce9d4383e95b18e85709'/>
<id>urn:sha1:41e8f99dd1625a9f0c80ce9d4383e95b18e85709</id>
<content type='text'>
ok jsing
</content>
</entry>
<entry>
<title>Zap extra parens</title>
<updated>2023-08-15T18:05:15+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-08-15T18:05:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=2241a2de986c88d243f72c0f2b18a8efd3478520'/>
<id>urn:sha1:2241a2de986c88d243f72c0f2b18a8efd3478520</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix typo in previous</title>
<updated>2023-08-15T17:40:06+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-08-15T17:40:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=a4680335ab2e7a1fe55d95eb8ed3999a07570ce9'/>
<id>urn:sha1:a4680335ab2e7a1fe55d95eb8ed3999a07570ce9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Avoid undefined behavior with memcmp(NULL, x, 0) in ASN1_STRING_cmp()</title>
<updated>2023-08-15T17:38:00+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-08-15T17:38:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=cc9f1360c7d1412dcf9c79e0d37328353a91d6e7'/>
<id>urn:sha1:cc9f1360c7d1412dcf9c79e0d37328353a91d6e7</id>
<content type='text'>
ok jsing miod
</content>
</entry>
<entry>
<title>Hide symbols in asn1 and bio</title>
<updated>2023-07-05T21:23:37+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2023-07-05T21:23:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=0da1913b3c721e1a62fd66bc43547b4e910cbc34'/>
<id>urn:sha1:0da1913b3c721e1a62fd66bc43547b4e910cbc34</id>
<content type='text'>
ok jsing@
</content>
</entry>
<entry>
<title>Garbage collect the unused asn1_add_error()</title>
<updated>2022-11-28T07:50:47+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-11-28T07:50:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=ef41800635f9a34052fdbd7d6aac36f608b19352'/>
<id>urn:sha1:ef41800635f9a34052fdbd7d6aac36f608b19352</id>
<content type='text'>
ok jsing
</content>
</entry>
<entry>
<title>Make internal header file names consistent</title>
<updated>2022-11-26T16:08:57+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-11-26T16:08:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=81d98bf600a381a625eb11b39a725b08c0ba547f'/>
<id>urn:sha1:81d98bf600a381a625eb11b39a725b08c0ba547f</id>
<content type='text'>
Libcrypto currently has a mess of *_lcl.h, *_locl.h, and *_local.h names
used for internal headers. Move all these headers we inherited from
OpenSSL to *_local.h, reserving the name *_internal.h for our own code.
Similarly, move dtls_locl.h and ssl_locl.h to dtls_local and ssl_local.h.
constant_time_locl.h is moved to constant_time.h since it's special.

Adjust all .c files in libcrypto, libssl and regress.

The diff is mechanical with the exception of tls13_quic.c, where
#include &lt;ssl_locl.h&gt; was fixed manually.

discussed with jsing,
no objection bcook
</content>
</entry>
<entry>
<title>Drop *out == NULL check in ASN1_STRING_to_UTF8()</title>
<updated>2022-05-20T08:04:21+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-05-20T08:04:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b5af5cafd4a1747b4045aad01cc9aad108dd4580'/>
<id>urn:sha1:b5af5cafd4a1747b4045aad01cc9aad108dd4580</id>
<content type='text'>
Unfortunately, several things in the ecosystem depend on the existing
API behavior of being able to pass in an uninitialized pointer on the
stack: haproxy, grpc, mongo-tools and others show up on the first two
pages of Debian codesearch.

ok jsing
</content>
</entry>
<entry>
<title>Clean up and fix ASN1_STRING_to_UTF8()</title>
<updated>2022-05-16T20:51:26+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-05-16T20:51:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=70dfe06a6ab90d4753a3ecc58022f661da042465'/>
<id>urn:sha1:70dfe06a6ab90d4753a3ecc58022f661da042465</id>
<content type='text'>
Instead of using a temporary variable on the stack, we can use the usual
Henson mechanism for allocating the struct. Make the function single exit
and throw an error instead of crashing or leaking if out is NULL or *out
is non-NULL.

tweaks/ok jsing
</content>
</entry>
<entry>
<title>Remove a stray space</title>
<updated>2022-05-16T20:44:17+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-05-16T20:44:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=30fd5107fb846be5cb70bfe51335086858aaca59'/>
<id>urn:sha1:30fd5107fb846be5cb70bfe51335086858aaca59</id>
<content type='text'>
</content>
</entry>
</feed>
