The SSL_SESSION and SSL3_STATE structs will become opaque in the
upcoming LibreSSL version 3.4.x. This will break the build. The
requisite accessors have been available since LibreSSL 2.7.0, so
adjust the version check accordingly.
Thanks, this fixes build with LibreSSL 3.4.1 on OpenBSD 7.0, released today. Now I should enable support for tls13 (which I had already done on SSLproxy).
The SSL_SESSION and SSL3_STATE structs will become opaque in the upcoming LibreSSL version 3.4.x. This will break the build. The requisite accessors have been available since LibreSSL 2.7.0, so adjust the version check accordingly.