<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/regress/lib/libssl/interop/version/Makefile, branch master</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=master</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2025-07-25T16:33:15+00:00</updated>
<entry>
<title>Retire interop tests with OpenSSL 3.3 and 3.4</title>
<updated>2025-07-25T16:33:15+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2025-07-25T16:33:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=6618a43ea7b02c5b0f466548f4b922be713de484'/>
<id>urn:sha1:6618a43ea7b02c5b0f466548f4b922be713de484</id>
<content type='text'>
</content>
</entry>
<entry>
<title>libcrypto regress: add interop harness for openssl/3.5</title>
<updated>2025-07-09T17:48:02+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2025-07-09T17:48:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=aff293dbd9cfabda512ac59dac94bc93acbffc74'/>
<id>urn:sha1:aff293dbd9cfabda512ac59dac94bc93acbffc74</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Interop tests for openssl 3.3 and 3.4, retire 3.2, 1.1 (and 3.1 remnants)</title>
<updated>2025-01-15T10:54:17+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2025-01-15T10:54:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=cb86ec195b229ba63ee07473ae96518a97c28d9e'/>
<id>urn:sha1:cb86ec195b229ba63ee07473ae96518a97c28d9e</id>
<content type='text'>
OpenSSL 1.1 and 3.2 will be removed from the ports tree, so test the two
remaining versions. Unfortunately, this requires a lot more manual
massaging than there should be.
</content>
</entry>
<entry>
<title>Drop OpenSSL 3.0 interop testing infrastructure</title>
<updated>2024-08-18T10:02:10+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-08-18T10:02:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=2a58c3044aacc0248cdd590f557266a1974bec55'/>
<id>urn:sha1:2a58c3044aacc0248cdd590f557266a1974bec55</id>
<content type='text'>
The openssl 3.0 port was removed nearly a year ago shortly after the 7.4
release.
</content>
</entry>
<entry>
<title>Add support for OpenSSL 3.1 interop tests</title>
<updated>2023-10-30T17:15:21+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-10-30T17:15:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=ef5d46388987ae46b79c7f8da6d2d73458c3d294'/>
<id>urn:sha1:ef5d46388987ae46b79c7f8da6d2d73458c3d294</id>
<content type='text'>
Until OpenSSL 3.1 has replaced OpenSSL 3.0 on most architectures, run
both tests. Installed packages of OpenSSL 3.0 will update automatically
to 3.1, so regress runners should not need to do anything.
</content>
</entry>
<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>interop: work around extreme REGRESS_SKIP_SLOW slowness</title>
<updated>2023-04-19T15:34:23+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-04-19T15:34:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=73798ebfda5eeaa9a9f42af994c4ac301b83b075'/>
<id>urn:sha1:73798ebfda5eeaa9a9f42af994c4ac301b83b075</id>
<content type='text'>
A few years back beck introduced REGRESS_SKIP_SLOW dances with the idea
that this should speed up the interop tests for us devs because this also
checked interop between opensslX and opensslY, which we don't particularly
care about. This never really worked. On a mac m1 mini the result is this:

REGRESS_SKIP_SLOW unset
    9m56.69s real     3m42.24s user     3m00.70s system
REGRESS_SKIP_SLOW=yes
   11m04.61s real     7m29.61s user     1m40.29s system

The problem is that REGRESS_SKIP_SLOW simply wasn't designed to handle
the huge number of tests we have here. There are many nested .for loops
resulting in several thousand tests. Each test has a name of length ~80.
REGRESS_SKIP_SLOW concatenates them into a several hundred kilobytes
long string in REGRESS_SKIP_TARGETS, iterates over all regress targets and
tests with ".if ${REGRESS_SKIP_TARGETS:M${RT}}" if it should skip them.
This means that during a regress run, make spends a lot of time linearly
scanning a huge string.

I ran into this when I added OpenSSL 3.0 tests to the already existing
1.0.2 and 1.1 tests with the result that with REGRESS_SLOW_TARGTS set
it took the better part of an hour while without it it took about 15 min.

The hack here is simply to avoid using REGRESS_SLOW_TARGTES here and
handle the situation differently.

patch, REGRESS_SKIP_SLOW=yes
    5m42.32s real     2m09.98s user     1m45.21s system

The real solution would be to fix this in bsd.regress.mk, which someone
who understands make well is very welcome to do. For now, I'm happy with
this.

Debugged with jsing a few months ago
</content>
</entry>
<entry>
<title>Retire OpenSSL 1.0.2 interop</title>
<updated>2023-02-01T14:39:09+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-02-01T14:39:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=17e85e0d750477ecd6d94c4da3d089193c536e8f'/>
<id>urn:sha1:17e85e0d750477ecd6d94c4da3d089193c536e8f</id>
<content type='text'>
Now that the OpenSSL 1.0.2 port is gone, there's no need to keep the
interop tests anymore. anton's and bluhm's regress tests will switch
to testing interoperability with OpenSSL 3.0.
</content>
</entry>
<entry>
<title>Add openssl 3.0 interop tests</title>
<updated>2023-01-27T08:28:36+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-01-27T08:28:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=971c759a469620704a18f7c93e7d71fbae75e7c2'/>
<id>urn:sha1:971c759a469620704a18f7c93e7d71fbae75e7c2</id>
<content type='text'>
The plan is to retire the 1.0.2 interop tests soon so as to be able to
drop the dead and dangerous OpenSSL 1.0.2 port.

The cert part is extremely slow on arm64: the whole interop test on an m1
is about 10x slower (~45 min!) than on a modern amd64 laptop, so people
running regress may want to wait a bit with adding OpenSSL 3 to their test
boxes until this is sorted out.
</content>
</entry>
<entry>
<title>Remove echo headlines.</title>
<updated>2020-12-17T00:51:12+00:00</updated>
<author>
<name>bluhm</name>
<email></email>
</author>
<published>2020-12-17T00:51:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c7cbfcf2a0ad5dc204129e5fbf99dd57cc33e72a'/>
<id>urn:sha1:c7cbfcf2a0ad5dc204129e5fbf99dd57cc33e72a</id>
<content type='text'>
</content>
</entry>
</feed>
