<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/regress/lib/libssl/unit, branch OPENBSD_7_4</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_4</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_4'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2023-07-02T17:21:33+00:00</updated>
<entry>
<title>Disable TLS 1.0 and TLS 1.1 in libssl</title>
<updated>2023-07-02T17:21:33+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2023-07-02T17:21:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=4edd92a57f3a74829fe519f35b5c7c79e03ce0b0'/>
<id>urn:sha1:4edd92a57f3a74829fe519f35b5c7c79e03ce0b0</id>
<content type='text'>
Their time has long since past, and they should not be used.
This change restricts ssl to versions 1.2 and 1.3, and changes
the regression tests to understand we no longer speak the legacy
protocols.

For the moment the magical "golden" byte for byte comparison
tests of raw handshake values are disabled util jsing fixes them.

ok jsing@ tb@
</content>
</entry>
<entry>
<title>Copy the verify param hostflags independently of the host list</title>
<updated>2023-05-24T09:15:14+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-05-24T09:15:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=cb416a0ac54838a4c54249c6c74fbaa3aafa6d6b'/>
<id>urn:sha1:cb416a0ac54838a4c54249c6c74fbaa3aafa6d6b</id>
<content type='text'>
Without this, hostflags set on the SSL_CTX would not propagate to newly
created SSL. This is surprising behavior that was changed in OpenSSL 1.1
by Christian Heimes after the issue was flagged by Quentin Pradet:
https://bugs.python.org/issue43522
This is a version of the fix that landed in OpenSSL.

There used to be a workaround in place in urllib3, but that was removed at
some point. We haven't fixed this earlier since it wasn't reported. It only
showed up after recent fallout of extraordinarily strict library checking
in urllib3 coming from their own interpretation of the implications of
PEP 644.

ok jsing
</content>
</entry>
<entry>
<title>Add a test to verify that an SSL inherits the hostflags from the SSL_CTX</title>
<updated>2023-05-24T08:54:59+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-05-24T08:54:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=0151931d7b9060a9d578a30bd59113ee37d19c9d'/>
<id>urn:sha1:0151931d7b9060a9d578a30bd59113ee37d19c9d</id>
<content type='text'>
This is currently an expected failure that will be fixed shortly.
</content>
</entry>
<entry>
<title>Revise cipher list regress coverage of SSL_set_security_level().</title>
<updated>2022-12-17T16:05:28+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2022-12-17T16:05:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b76c072452e6a1c867a6726ec9818e3c3281607d'/>
<id>urn:sha1:b76c072452e6a1c867a6726ec9818e3c3281607d</id>
<content type='text'>
A SSL_set_security_level() call was added to the cipher list regress, which
expects a failure - however, it should succeed and fails for a completely
unrelated reason. Rework this regress so that it actually passes and tests
for the expected behaviour.
</content>
</entry>
<entry>
<title>regres/libssl/unit: simplify Makefile</title>
<updated>2022-12-02T01:15:11+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-12-02T01:15:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=2288cbbd8750bb9ffbf16c21d2294bce7e4e601f'/>
<id>urn:sha1:2288cbbd8750bb9ffbf16c21d2294bce7e4e601f</id>
<content type='text'>
</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>Revise for SSL_CTX_INTERNAL and SSL_INTERNAL removal.</title>
<updated>2022-10-02T16:38:23+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2022-10-02T16:38:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=41318db5497cddfa4935c4ea48bcb2eb5786375e'/>
<id>urn:sha1:41318db5497cddfa4935c4ea48bcb2eb5786375e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make test table based, extend it a little</title>
<updated>2022-07-21T03:59:04+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-07-21T03:59:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=cb77147197afdaf2aea9b25f6657216bca4c8fc5'/>
<id>urn:sha1:cb77147197afdaf2aea9b25f6657216bca4c8fc5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>link ssl_set_alpn_protos to regress</title>
<updated>2022-07-20T14:50:31+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-07-20T14:50:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=34f33675fbe94525909384280b460a275a65d2e3'/>
<id>urn:sha1:34f33675fbe94525909384280b460a275a65d2e3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add a quick and dirty regress for SSL{_CTX,}_set_alpn_protos()</title>
<updated>2022-07-20T14:50:03+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-07-20T14:50:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=3d3ce02b71a03f35db0e4017c1052ed164f1219c'/>
<id>urn:sha1:3d3ce02b71a03f35db0e4017c1052ed164f1219c</id>
<content type='text'>
</content>
</entry>
</feed>
