Fix build with LibreSSL 3.4.1 on OpenBSD 7.0

pull/48/head
Soner Tari 3 years ago
parent 42d84629f3
commit 64640d7574

@ -25,6 +25,10 @@
- Add Include config option for loading configuration from an include file.
- Add -Q test config option.
Note: The UTMFW project provides the SSLproxy Rule Editor, SPRE, which can
be used to configure proxyspecs, filtering rules, and options, similar to
the PF Rule Editor, PFRE, for OpenBSD/pf.
### SSLproxy 0.8.4 2021-08-29

@ -83,7 +83,7 @@
#define OPENSSL_NO_SHA0
#endif
#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined(LIBRESSL_VERSION_NUMBER)
#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20701000L)
#if LIBRESSL_VERSION_NUMBER >= 0x2050100fL
#define SSL_is_server(ssl) ((ssl)->server)
#else /* < LibreSSL 2.5.1 and OpenSSL < 1.1.0 */

Loading…
Cancel
Save