<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/asn1/a_enum.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-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>Hide global _it variables in asn1.h</title>
<updated>2024-07-08T14:52:31+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2024-07-08T14:52:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=3e4afb686e802ed188471899b25a031f4c4164af'/>
<id>urn:sha1:3e4afb686e802ed188471899b25a031f4c4164af</id>
<content type='text'>
ok tb@
</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>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>Provide c2i_ASN1_ENUMERATED_cbs() and call it from asn1_c2i_primitive().</title>
<updated>2022-09-03T18:45:51+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2022-09-03T18:45:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=fb18e75fc234776f661aad4dd12a912ff1f62763'/>
<id>urn:sha1:fb18e75fc234776f661aad4dd12a912ff1f62763</id>
<content type='text'>
This avoids asn1_c2i_primitive() from needing knowledge about the internals
of ASN1_INTEGER and ASN1_ENUMERATED.

ok tb@
</content>
</entry>
<entry>
<title>Cast int64_t to uint64_t for negating</title>
<updated>2022-08-10T12:06:28+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-08-10T12:06:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=e097d6124bb1a66fdf8fcc1f40049067704fc50a'/>
<id>urn:sha1:e097d6124bb1a66fdf8fcc1f40049067704fc50a</id>
<content type='text'>
Avoid signed integer overflow by casting an int64_t to uint64_t before
negating. Same fix was applied in a_int.c -r1.44, but was forgotten to
be applied to a_enum.c.

ok jsing
</content>
</entry>
<entry>
<title>Make ASN1_{INTEGER,ENUMERATED}_get() return 0 on NULL again</title>
<updated>2022-07-09T14:46:43+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-07-09T14:46:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=40868ef62b1c990379f28b723127ae704c232772'/>
<id>urn:sha1:40868ef62b1c990379f28b723127ae704c232772</id>
<content type='text'>
This is the documented behavior which got lost in the recent rewrite.

Mismatch of documentation and reality pointed out by schwarze

ok jsing
</content>
</entry>
<entry>
<title>Reuse ASN1_INTEGER functions for ASN1_ENUMERATED_{get,set}()</title>
<updated>2022-06-25T16:15:18+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2022-06-25T16:15:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b0ac03f5e6a323a47d04d90d106f6e2775e1d6d4'/>
<id>urn:sha1:b0ac03f5e6a323a47d04d90d106f6e2775e1d6d4</id>
<content type='text'>
Instead of having a separate get/set implementation, reuse the ASN1_INTEGER
code. Also prepare to provide ASN1_ENUMERATED_{get,set}_int64().

ok beck@ tb@
</content>
</entry>
<entry>
<title>Indent goto labels for diffability.</title>
<updated>2021-12-25T13:17:48+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2021-12-25T13:17:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=f2a8b7b1604d94d3feae0cdb83aff3c6318aa9fc'/>
<id>urn:sha1:f2a8b7b1604d94d3feae0cdb83aff3c6318aa9fc</id>
<content type='text'>
Whitespace change only.
</content>
</entry>
<entry>
<title>Consolidate code/templates for ASN.1 types.</title>
<updated>2021-12-25T08:52:44+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2021-12-25T08:52:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=dec42f5ec7fdeaf3f4c15382618eec327e1c2a1c'/>
<id>urn:sha1:dec42f5ec7fdeaf3f4c15382618eec327e1c2a1c</id>
<content type='text'>
Where an ASN.1 type has its own file, move the ASN.1 item template and
template related functions into the file.

Discussed with tb@
</content>
</entry>
</feed>
