<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libssl/d1_clnt.c, branch OPENBSD_6_8_BASE</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_6_8_BASE</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_6_8_BASE'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2020-01-23T10:48:37+00:00</updated>
<entry>
<title>Remove the ssl_get_message function pointer from SSL_METHOD_INTERNAL.</title>
<updated>2020-01-23T10:48:37+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2020-01-23T10:48:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=a0913f8b11765018808c519315bcbc52aa7a4f27'/>
<id>urn:sha1:a0913f8b11765018808c519315bcbc52aa7a4f27</id>
<content type='text'>
ssl_get_message is essentially a switch between ssl3_get_message and
dtls1_get_message, both only used by the legacy stack. Instead, use
SSL_IS_DTLS() in ssl3_get_message to call  the DTLS function when
necessary.

ok beck@ inoguchi@ tb@
</content>
</entry>
<entry>
<title>Consolidate all of the SSL method structs/functions into a single file.</title>
<updated>2018-11-05T05:45:15+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2018-11-05T05:45:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=fb9f160cf8d816f5dd783bf8cad3828d2aa35dbe'/>
<id>urn:sha1:fb9f160cf8d816f5dd783bf8cad3828d2aa35dbe</id>
<content type='text'>
Discussed with tb@
</content>
</entry>
<entry>
<title>Nuke ssl_pending/ssl_shutdown function pointers.</title>
<updated>2018-08-30T16:56:16+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2018-08-30T16:56:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=16b6459b65a2ea71c62cee66fa098dd1e7b7cd8d'/>
<id>urn:sha1:16b6459b65a2ea71c62cee66fa098dd1e7b7cd8d</id>
<content type='text'>
ssl3_pending() is used for all protocols and dtls1_shutdown() just calls
ssl3_shutdown(), so just call the appropriate function directly instead.

ok beck@ inoguchi@ tb@
</content>
</entry>
<entry>
<title>Remove function pointers for ssl_{read,write,peek}.</title>
<updated>2018-04-07T17:02:34+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2018-04-07T17:02:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=434b34179d51a711f0e2f59be4e5da2817c6a71f'/>
<id>urn:sha1:434b34179d51a711f0e2f59be4e5da2817c6a71f</id>
<content type='text'>
Now that everything goes through the same code path, we can remove a layer
of indirection and just call ssl3_{read,write,peek} directly.

ok beck@ inoguchi@
</content>
</entry>
<entry>
<title>Merge dtls1_connect() into ssl3_connect(), removing a large amount of</title>
<updated>2017-10-10T15:13:26+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2017-10-10T15:13:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=7faea6afb3552bdce4af15a5de5afb4644c19ec4'/>
<id>urn:sha1:7faea6afb3552bdce4af15a5de5afb4644c19ec4</id>
<content type='text'>
duplicated code. For now this is essentially adds a diff of the two
functions with 'if (SSL_IS_DTLS(s))' - further clean up and improvement
will follow.

ok inoguchi@
</content>
</entry>
<entry>
<title>Reduce non-functional differences between dtls1_connect() and</title>
<updated>2017-10-08T16:54:28+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2017-10-08T16:54:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=23d9764354554ecb820c49fed8f0286c5b684bbe'/>
<id>urn:sha1:23d9764354554ecb820c49fed8f0286c5b684bbe</id>
<content type='text'>
ssl3_connect() - synchronise comments, whitespace, line wrapping, etc.
</content>
</entry>
<entry>
<title>Convert ssl3_send_change_cipher_spec() to use CBB and make it handle DTLS,</title>
<updated>2017-10-08T16:24:02+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2017-10-08T16:24:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=ba9ebd2e46ba795dd4f082910e89df705f1e264b'/>
<id>urn:sha1:ba9ebd2e46ba795dd4f082910e89df705f1e264b</id>
<content type='text'>
which allows us to drop dtls1_send_change_cipher_spec() entirely.

ok inoguchi@
</content>
</entry>
<entry>
<title>Move state from ssl-&gt;internal to the handshake structure.</title>
<updated>2017-05-07T04:22:24+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2017-05-07T04:22:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=2439ee31e965a96d3685f362e5a32d365a9e5eaa'/>
<id>urn:sha1:2439ee31e965a96d3685f362e5a32d365a9e5eaa</id>
<content type='text'>
while we are at it, convert SSLerror to use a function
internally, so that we may later allocate the handshake
structure and check for it
ok jsing@
</content>
</entry>
<entry>
<title>Bring in an SSL_HANDSHAKE structure and commence the great shovelling</title>
<updated>2017-05-06T22:24:58+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2017-05-06T22:24:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=ba0818f10be313fb81078efbbc62472ce82b1372'/>
<id>urn:sha1:ba0818f10be313fb81078efbbc62472ce82b1372</id>
<content type='text'>
ok jsing@, gcc@, regress@
</content>
</entry>
<entry>
<title>Change SSLerror() back to taking two args, with the first one being an SSL *.</title>
<updated>2017-02-07T02:08:38+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2017-02-07T02:08:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=9a5920738bea15430db1fdd138e67d9bbc3a95d3'/>
<id>urn:sha1:9a5920738bea15430db1fdd138e67d9bbc3a95d3</id>
<content type='text'>
Make a table of "function codes" which maps the internal state of the SSL *
to something like a useful name so in a typical error in the connection you
know in what sort of place in the handshake things happened. (instead of
by arcane function name).
Add SSLerrorx() for when we don't have an SSL *
ok jsing@ after us both being prodded by bluhm@ to make it not terrible
</content>
</entry>
</feed>
