<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/regress/lib/libssl/bytestring, branch libressl-v2.2.7</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=libressl-v2.2.7</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=libressl-v2.2.7'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2015-07-31T14:18:06+00:00</updated>
<entry>
<title>Don't hardcode /usr/src, use BSDSRCDIR</title>
<updated>2015-07-31T14:18:06+00:00</updated>
<author>
<name>tobiasu</name>
<email></email>
</author>
<published>2015-07-31T14:18:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=4483a672cc23295384960c87b1929e13ae60dba8'/>
<id>urn:sha1:4483a672cc23295384960c87b1929e13ae60dba8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>simplify length checking in do_indefinite_convert</title>
<updated>2015-07-18T21:57:00+00:00</updated>
<author>
<name>bcook</name>
<email></email>
</author>
<published>2015-07-18T21:57:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=0754ae5beb3c90c42a4f025ab0840aca20f65390'/>
<id>urn:sha1:0754ae5beb3c90c42a4f025ab0840aca20f65390</id>
<content type='text'>
Fixes Coverity 117506, 117507, 117508
ok doug@
</content>
</entry>
<entry>
<title>Change CBS_dup() to also sync the offset.</title>
<updated>2015-06-23T05:58:28+00:00</updated>
<author>
<name>doug</name>
<email></email>
</author>
<published>2015-06-23T05:58:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=9a31903e554f01ace552d6ed0a48e3af5e464664'/>
<id>urn:sha1:9a31903e554f01ace552d6ed0a48e3af5e464664</id>
<content type='text'>
Previously, CBS_dup() had its own offset.  However, it is more consistent
to copy everything.

ok miod@ jsing@
</content>
</entry>
<entry>
<title>Convert bytestringtest to individual checks and don't short circuit.</title>
<updated>2015-06-23T01:20:24+00:00</updated>
<author>
<name>doug</name>
<email></email>
</author>
<published>2015-06-23T01:20:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=84ef3d24fb4f24599400c3ca9569f6d0ba74b2bf'/>
<id>urn:sha1:84ef3d24fb4f24599400c3ca9569f6d0ba74b2bf</id>
<content type='text'>
The statements were chained together with OR which makes it more annoying
to debug.  Also, it was short circuiting all tests as soon as one function
failed.  Since the functions are independent, they should each run until
error.

Discussed with miod@ and jsing@
</content>
</entry>
<entry>
<title>Remove unnecessary regress target.</title>
<updated>2015-06-23T00:02:01+00:00</updated>
<author>
<name>doug</name>
<email></email>
</author>
<published>2015-06-23T00:02:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=76830927a2141b0895f5f91362d3e8480143efb2'/>
<id>urn:sha1:76830927a2141b0895f5f91362d3e8480143efb2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add tests for CBS_offset() and CBS_write_bytes().</title>
<updated>2015-06-17T07:15:52+00:00</updated>
<author>
<name>doug</name>
<email></email>
</author>
<published>2015-06-17T07:15:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=2e34e7894def0bc4b48f5c6a0e01d829aed13fa4'/>
<id>urn:sha1:2e34e7894def0bc4b48f5c6a0e01d829aed13fa4</id>
<content type='text'>
"no problem" miod@, tweak + ok 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>Check for invalid leading zeros in CBS_get_asn1_uint64.</title>
<updated>2015-04-25T15:28:47+00:00</updated>
<author>
<name>doug</name>
<email></email>
</author>
<published>2015-04-25T15:28:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=14b4339c31e6165fb11bbb889e4b24b201ac5e29'/>
<id>urn:sha1:14b4339c31e6165fb11bbb889e4b24b201ac5e29</id>
<content type='text'>
ASN.1 integers cannot have all zeros or all ones for the first 9 bits.
This rule ensures the numbers are encoded with the smallest number of
content octets (see ITU-T Rec X.690 section 8.3.2).

Based on BoringSSL commit 5933723b7b592e9914f703d630b596e140c93e16

ok deraadt@ jsing@
</content>
</entry>
<entry>
<title>Add more error checking and free resources in bytestringtest.</title>
<updated>2015-02-16T06:48:17+00:00</updated>
<author>
<name>doug</name>
<email></email>
</author>
<published>2015-02-16T06:48:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=7b9469d42e3e55b355bdc3e71d8893d3ca583be1'/>
<id>urn:sha1:7b9469d42e3e55b355bdc3e71d8893d3ca583be1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>KNF bytestring files.</title>
<updated>2015-02-06T22:22:33+00:00</updated>
<author>
<name>doug</name>
<email></email>
</author>
<published>2015-02-06T22:22:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=d03a4807083e9e8c5b74ea28b35bf911945962ec'/>
<id>urn:sha1:d03a4807083e9e8c5b74ea28b35bf911945962ec</id>
<content type='text'>
I checked that this doesn't change anything.  Compiled with clang using
-Wno-pointer-sign -g0  to reduce the differences.  Only difference in the
asm is due to assert(0) line number changes in bs_cbs.c and bs_cbb.c.

miod is ok with the general process.
</content>
</entry>
</feed>
