<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libssl/bs_ber.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-03-28T12:13:03+00:00</updated>
<entry>
<title>typo: primtive -&gt; primitive</title>
<updated>2025-03-28T12:13:03+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2025-03-28T12:13:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=34d4647beddb60ec830124d4fc67ee4b51155edd'/>
<id>urn:sha1:34d4647beddb60ec830124d4fc67ee4b51155edd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>sync inclusion of &lt;stdlib.h&gt; from libcrypto</title>
<updated>2024-05-25T15:14:26+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-05-25T15:14:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=fe75084dd7139a78b6c93ce1e0207e117ac23ac9'/>
<id>urn:sha1:fe75084dd7139a78b6c93ce1e0207e117ac23ac9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix formatting of multi-line license comment per style(9).</title>
<updated>2021-05-16T10:58:27+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2021-05-16T10:58:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=add46b7b31275c870c2b1020543cdd011ac8ff5e'/>
<id>urn:sha1:add46b7b31275c870c2b1020543cdd011ac8ff5e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove unnecessary includes from the bytestring APIs.</title>
<updated>2021-05-16T08:32:49+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2021-05-16T08:32:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=15128d93b721effe91be90a07449f149ab5e7697'/>
<id>urn:sha1:15128d93b721effe91be90a07449f149ab5e7697</id>
<content type='text'>
The bytestring APIs are self contained, hence including openssl headers
here is unnecessary.
</content>
</entry>
<entry>
<title>Avoid signed vs unsigned warnings from clang by adding two casts,</title>
<updated>2016-12-03T12:34:35+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2016-12-03T12:34:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=578440178487a164eba874e7a566a55de4a9e2e8'/>
<id>urn:sha1:578440178487a164eba874e7a566a55de4a9e2e8</id>
<content type='text'>
slightly rewriting some code and changing the type of an array.

ok bcook@ doug@
</content>
</entry>
<entry>
<title>Check for failure with CBB_init() in bs_ber.c.</title>
<updated>2015-06-21T16:10:45+00:00</updated>
<author>
<name>doug</name>
<email></email>
</author>
<published>2015-06-21T16:10:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b97997b53e900d6e532a26c353078d8d7779ad1e'/>
<id>urn:sha1:b97997b53e900d6e532a26c353078d8d7779ad1e</id>
<content type='text'>
From BoringSSL commit 3fa65f0f05f67615d9daf48940e07f84d094ac6e.
</content>
</entry>
<entry>
<title>Use explicit int in bs_ber.c.</title>
<updated>2015-06-17T07:20:39+00:00</updated>
<author>
<name>doug</name>
<email></email>
</author>
<published>2015-06-17T07:20:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=813677f2785c97e586fde9752ed686ed6ac85193'/>
<id>urn:sha1:813677f2785c97e586fde9752ed686ed6ac85193</id>
<content type='text'>
ok miod@ jsing@
</content>
</entry>
<entry>
<title>Be more strict about BER and DER terminology.</title>
<updated>2015-06-16T06:37:58+00:00</updated>
<author>
<name>doug</name>
<email></email>
</author>
<published>2015-06-16T06:37:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b87417588144066bdf43f4c7eaed221f27269c8f'/>
<id>urn:sha1:b87417588144066bdf43f4c7eaed221f27269c8f</id>
<content type='text'>
bs_ber.c does not convert BER to DER.  It's a hack to convert a DER-like
encoding with one violation (indefinite form) to strict DER.  Rename
the functions to reflect this.

ok miod@ jsing@
</content>
</entry>
<entry>
<title>Make CBS_get_any_asn1_element() more compliant with DER encoding.</title>
<updated>2015-06-15T07:35:49+00:00</updated>
<author>
<name>doug</name>
<email></email>
</author>
<published>2015-06-15T07:35:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=f06caa67ef95efe3935b9b1e51f4e8a10a52d973'/>
<id>urn:sha1:f06caa67ef95efe3935b9b1e51f4e8a10a52d973</id>
<content type='text'>
CBS_get_any_asn1_element violates DER encoding by allowing indefinite
form.  All callers except bs_ber.c expect DER encoding.  The callers
must check to see if it was indefinite or not.

Rather than exposing all callers to this behavior,
cbs_get_any_asn1_element_internal() allows specifying whether you want to
allow the normally forbidden indefinite form.  This is used by
CBS_get_any_asn1_element() for strict DER encoding and by a new static
function in bs_ber.c for the relaxed version.

While I was here, I added comments to differentiate between ASN.1
restrictions and CBS limitations.

ok miod@
</content>
</entry>
<entry>
<title>Add whitespace and replace OPENSSL_free with free in documentation.</title>
<updated>2015-04-29T02:11:09+00:00</updated>
<author>
<name>doug</name>
<email></email>
</author>
<published>2015-04-29T02:11:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=82d4e9306fa0516286b66cf7b46315b9ff1cf8a1'/>
<id>urn:sha1:82d4e9306fa0516286b66cf7b46315b9ff1cf8a1</id>
<content type='text'>
ok jsing@
</content>
</entry>
</feed>
