<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/regress/lib/libcrypto/asn1/asn1basic.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-01-04T09:43:52+00:00</updated>
<entry>
<title>asn1basic: add missing test from BoringSSL's test suite</title>
<updated>2026-01-04T09:43:52+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2026-01-04T09:43:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=e25ccd667e01e3a9e37f06e7cc79fb7ac0f6e3f4'/>
<id>urn:sha1:e25ccd667e01e3a9e37f06e7cc79fb7ac0f6e3f4</id>
<content type='text'>
This is another test that fails due to the bug in i2c_ASN1_BIT_STRING().
</content>
</entry>
<entry>
<title>asn1basic: switch test to expect correct encoding</title>
<updated>2026-01-04T09:42:32+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2026-01-04T09:42:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=d35a685166b500418ee47359c5cfcd27c97b3eae'/>
<id>urn:sha1:d35a685166b500418ee47359c5cfcd27c97b3eae</id>
<content type='text'>
This test fails, so mark the asn1basic test as an expected failure
</content>
</entry>
<entry>
<title>asn1basic: add example showing current bogus encoding</title>
<updated>2026-01-04T09:36:34+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2026-01-04T09:36:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=92a00177b1792955d45f8653ea60eb986b21c90a'/>
<id>urn:sha1:92a00177b1792955d45f8653ea60eb986b21c90a</id>
<content type='text'>
There is a bug in i2c_ASN1_BIT_STRING() resulting in nonsense encoding of
some BIT STRINGs with trailing zeroes if ASN1_STRING_FLAG_BITS_LEFT is not
set (a rare corner case). This test currently passes when it shouldn't.
</content>
</entry>
<entry>
<title>Port most of BoringSSL's TEST(ASN1Test, SetBit)</title>
<updated>2025-12-18T09:15:28+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2025-12-18T09:15:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=2681c4505dbb93940f461387b894b73e6ffedaff'/>
<id>urn:sha1:2681c4505dbb93940f461387b894b73e6ffedaff</id>
<content type='text'>
Exercises the batshit crazy truncation behavior of ASN1_BIT_STRING_set_bit()

Based on https://boringssl-review.googlesource.com/c/boringssl/+/48225
(still under ISC).
</content>
</entry>
<entry>
<title>Fix asn1_integer_null_data_test()</title>
<updated>2024-02-04T13:07:02+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-02-04T13:07:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=8841f0ca03f1bd5847a74cb2e0e6e86807d069ee'/>
<id>urn:sha1:8841f0ca03f1bd5847a74cb2e0e6e86807d069ee</id>
<content type='text'>
The failed variable was erroneously initialized to 0, making this test
always pass.

From Christian Andersen, thanks!
</content>
</entry>
<entry>
<title>Add regress coverage for ASN1_STRING_cmp()</title>
<updated>2023-08-15T21:05:44+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-08-15T21:05:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=517d3269d7d1de98901ce1bda515ff15b46f6378'/>
<id>urn:sha1:517d3269d7d1de98901ce1bda515ff15b46f6378</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add some regress coverage for various ASN1_STRING types to codify some</title>
<updated>2023-08-15T19:14:42+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-08-15T19:14:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c86ca7ba1a54cdf6c70951f6ff119377cfcb04f1'/>
<id>urn:sha1:c86ca7ba1a54cdf6c70951f6ff119377cfcb04f1</id>
<content type='text'>
quirks and invariants.
</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>Convert from %i to %d</title>
<updated>2022-09-05T21:06:31+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-09-05T21:06:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=1411fe3fdc8f44c56758af53f898aa37d2d57953'/>
<id>urn:sha1:1411fe3fdc8f44c56758af53f898aa37d2d57953</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Ensure a constructed ASN.1 INTEGER is considered invalid when decoding.</title>
<updated>2022-09-03T18:54:36+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2022-09-03T18:54:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=815a9be231a354e68b4cd0f33cf92a6ff60fd4dc'/>
<id>urn:sha1:815a9be231a354e68b4cd0f33cf92a6ff60fd4dc</id>
<content type='text'>
</content>
</entry>
</feed>
