<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd, branch tb_20210830</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=tb_20210830</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=tb_20210830'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2021-08-30T17:27:46+00:00</updated>
<entry>
<title>This commit was manufactured by cvs2git to create tag 'tb_20210830'.</title>
<updated>2021-08-30T17:27:46+00:00</updated>
<author>
<name>cvs2svn</name>
<email>admin@example.com</email>
</author>
<published>2021-08-30T17:27:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=4e4f5b4c833ba5285e001bdb6b832bdf91c43da3'/>
<id>urn:sha1:4e4f5b4c833ba5285e001bdb6b832bdf91c43da3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reimplement part of the openssl/x509 regress tests in C</title>
<updated>2021-08-30T17:27:45+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2021-08-30T17:27:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=20a5de624e2e817be526407f2b8de078016ee258'/>
<id>urn:sha1:20a5de624e2e817be526407f2b8de078016ee258</id>
<content type='text'>
Instead of using s_client and s_server and complicated shell scripts,
we can reuse the framework from the ssl_get_shared_cipher() regress
test and inspect the verify return value directly.

Discussed with beck jan jsing
</content>
</entry>
<entry>
<title>Ignore warning alert returns from servername callback in TLSv1.3</title>
<updated>2021-08-30T16:50:23+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2021-08-30T16:50:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=2fa2491cc72d7f3e79db1024c689d1a4dbf07ec8'/>
<id>urn:sha1:2fa2491cc72d7f3e79db1024c689d1a4dbf07ec8</id>
<content type='text'>
If a servername callback returns SSL_TLSEXT_ERR_ALERT_WARNING, this
results in a fatal error in TLSv1.3 since alert levels are implicit
in the alert type and neither close_notify nor user_canceled make
sense in this context. OpenSSL chose to ignore this, so we need to
follow suit.

Found via a broken servername callback in p5-IO-Socket-SSL which
returns a Boolean instead of SSL_TLSEXT_ERR_*. This happened to
have worked before TLSv1.3 since warning alerts are often ignored.

This "fixes" sni.t and sni-verify.t in p5-IO-Socket-SSL.

ok beck jsing
</content>
</entry>
<entry>
<title>Clean up end of do_body in openssl(1) ca</title>
<updated>2021-08-30T12:25:54+00:00</updated>
<author>
<name>inoguchi</name>
<email></email>
</author>
<published>2021-08-30T12:25:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=08aabc745e4460cd2542cd2d5704af343e5dfd89'/>
<id>urn:sha1:08aabc745e4460cd2542cd2d5704af343e5dfd89</id>
<content type='text'>
suggested from tb@
</content>
</entry>
<entry>
<title>Remove NULL check before free in openssl(1) ca</title>
<updated>2021-08-30T12:12:11+00:00</updated>
<author>
<name>inoguchi</name>
<email></email>
</author>
<published>2021-08-30T12:12:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=cd726bbf9877a08a759ecd8e256444a6e8a79ce9'/>
<id>urn:sha1:cd726bbf9877a08a759ecd8e256444a6e8a79ce9</id>
<content type='text'>
ok tb@
</content>
</entry>
<entry>
<title>Admit that we return error 20 in the failure case here. Changing</title>
<updated>2021-08-30T09:06:04+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2021-08-30T09:06:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=71f396acd1d4a784510f9b3b50e5c0fe055230c9'/>
<id>urn:sha1:71f396acd1d4a784510f9b3b50e5c0fe055230c9</id>
<content type='text'>
our verifier to return 21 results in other regress failures in
ruby and perl.
</content>
</entry>
<entry>
<title>Revert previous change that changed our default return for unable to</title>
<updated>2021-08-30T08:59:33+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2021-08-30T08:59:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=128cd60e8913a5432c5f2cd611f876aaf30cc54a'/>
<id>urn:sha1:128cd60e8913a5432c5f2cd611f876aaf30cc54a</id>
<content type='text'>
find leaf cert issuers.  This breaks perl and ruby regress, as noticed
by tb that "we tried this before".

Jan's regress that cares about 21 vs 20 needs to change
ok tb@
</content>
</entry>
<entry>
<title>Fix Jan's regress in openssl/x509 to do what it says it does,</title>
<updated>2021-08-30T06:51:36+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2021-08-30T06:51:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=4e50a8d4146b751db152850becadcd0a15593980'/>
<id>urn:sha1:4e50a8d4146b751db152850becadcd0a15593980</id>
<content type='text'>
then fix the only thing it still has complaints about which
is that we don't return the leaf version of the error code
when we can't verify the leaf (as opposed to the rest of the chain)

ok jan@ tb@
</content>
</entry>
<entry>
<title>Do not call X509_alias_get0(3) with NULL as the second argument.</title>
<updated>2021-08-29T19:56:40+00:00</updated>
<author>
<name>schwarze</name>
<email></email>
</author>
<published>2021-08-29T19:56:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=92a0608ad38f033cb50deb04b9a207a7b3a1ba25'/>
<id>urn:sha1:92a0608ad38f033cb50deb04b9a207a7b3a1ba25</id>
<content type='text'>
Even if the buffer is guaranteed to be NUL-terminated in a particular
case, it is still setting a bad example.  Besides, it is unclear
to me whether there is any such guarantee in the case at hand.
Checking that would require auditing all of d2i_X509_bio(3),
ASN1_item_d2i_bio(&amp;NETSCAPE_X509_it, ...), PEM_read_bio_X509_AUX(3),
and PKCS12_parse(3), since no such guarantee is documented for any
of these functions, and even then it would remain fragile with
respect to later changes of implementation details.

In the worst case, this could potentially result in a read buffer
overrun.

OK tb@ on an earlier version of this patch.

While we are here, deraadt@ requested to not use the word "string" in the
name of a variable that is not a string in the sense of the C language.
</content>
</entry>
<entry>
<title>Don't call the verify callback twice on success.</title>
<updated>2021-08-29T17:13:15+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2021-08-29T17:13:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=f9a1f301d09203a9502b89510114c776bc4f12bf'/>
<id>urn:sha1:f9a1f301d09203a9502b89510114c776bc4f12bf</id>
<content type='text'>
This fixes a problem in the perl regress where it notices the
callback is called twice and complains.

ok tb@ bluhm@
</content>
</entry>
</feed>
