<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/ts/ts_lib.c, 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-12-05T14:19:27+00:00</updated>
<entry>
<title>Replace trivial uses of ASN1_STRING_data()</title>
<updated>2025-12-05T14:19:27+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2025-12-05T14:19:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=9d2d9214b79d3c58a92235befe0378b7ada96773'/>
<id>urn:sha1:9d2d9214b79d3c58a92235befe0378b7ada96773</id>
<content type='text'>
Almost entirely mechanical diff that ensures that for read-only accesses
we use the const correct ASN1_STRING_get0_data(). Arguably, in most
places the better fix would be to reach into ASN1_STRING but then we
have to think and bikeshed...

ok beck kenjiro
</content>
</entry>
<entry>
<title>Rewrite TS_ASN1_INTEGER_print_bio()</title>
<updated>2025-01-07T14:22:19+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2025-01-07T14:22:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=a1684faa4be27a9ef1e107c73728a13717cb63c4'/>
<id>urn:sha1:a1684faa4be27a9ef1e107c73728a13717cb63c4</id>
<content type='text'>
This eliminates another stupid BN_free(&amp;bn) and uses BIO_printf() rather
than a ludicrously silly result dance. In fact it appears that this dance
was so hard to grok that OpenSSL misread it and made this function return
the value -1 on ASN1_INTEGER_to_BN() failure, a value that it had never
returned before.

It doesn't matter anyway. The only uses of this function are internal to
OpenSSL's code and since TS fully conforms to OpenSSL's high QA standards,
no caller checks the return of TS_ASN1_INTEGER_print_bio().

ok jsing
</content>
</entry>
<entry>
<title>Hide symbols in ts</title>
<updated>2023-07-07T07:25:21+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2023-07-07T07:25:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=8ec0f288746ef0197965cf8c262dd2e89fba308e'/>
<id>urn:sha1:8ec0f288746ef0197965cf8c262dd2e89fba308e</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>Add #include "bn_lcl.h" to the files that will soon need it.</title>
<updated>2021-12-04T16:08:32+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2021-12-04T16:08:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=57082c28039cc632468182b73bebd65a224cbf9d'/>
<id>urn:sha1:57082c28039cc632468182b73bebd65a224cbf9d</id>
<content type='text'>
ok inoguchi jsing
</content>
</entry>
<entry>
<title>Move the now internal X.509-related structs into x509_lcl.h.</title>
<updated>2021-11-01T20:53:08+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2021-11-01T20:53:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=f478d62658b61e2242dbf3575bf454f8c0f432b1'/>
<id>urn:sha1:f478d62658b61e2242dbf3575bf454f8c0f432b1</id>
<content type='text'>
Garbage collect the now unused LIBRESSL_CRYPTO_INTERNAL and
LIBRESSL_OPAQUE_X509. Include "x509_lcl.h" where needed and
fix a couple of unnecessary reacharounds.

ok jsing
</content>
</entry>
<entry>
<title>Replace remaining M_ASN1_STRING_* macros with calls to ASN1_STRING_*.</title>
<updated>2015-09-10T14:29:22+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2015-09-10T14:29:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=042566777cf875963166de1833bbe477f0ac3f64'/>
<id>urn:sha1:042566777cf875963166de1833bbe477f0ac3f64</id>
<content type='text'>
This is not the same as the macro expansion, however the ASN1_STRING_*
functions do match the macro expansions.

ok doug@ miod@
</content>
</entry>
<entry>
<title>Expand obsolete M_ASN1.*(cmp|dup|print|set) macros - no change in generated</title>
<updated>2015-07-29T14:58:34+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2015-07-29T14:58:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=2186614b2e5af6bbfcc1a9f8898ac11ea9c93faf'/>
<id>urn:sha1:2186614b2e5af6bbfcc1a9f8898ac11ea9c93faf</id>
<content type='text'>
assembly.

ok bcook@
</content>
</entry>
<entry>
<title>Only import cryptlib.h in the four source files that actually need it.</title>
<updated>2014-07-11T08:44:49+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2014-07-11T08:44:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=74e2c009c83ad374bd6acdcfc376a384e25ab007'/>
<id>urn:sha1:74e2c009c83ad374bd6acdcfc376a384e25ab007</id>
<content type='text'>
Remove the openssl public includes from cryptlib.h and add a small number
of includes into the source files that actually need them. While here,
also sort/group/tidy the includes.

ok beck@ miod@
</content>
</entry>
<entry>
<title>Stop including standard headers via cryptlib.h - pull in the headers that</title>
<updated>2014-07-10T13:58:23+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2014-07-10T13:58:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c917c683bc93c68fbf4310ac181f7906e76b3c94'/>
<id>urn:sha1:c917c683bc93c68fbf4310ac181f7906e76b3c94</id>
<content type='text'>
are needed in the source files that actually require them.

ok beck@ miod@
</content>
</entry>
</feed>
