--- a/src/common/compat_openssl.h+++ b/src/common/compat_openssl.h@@ -28,6 +28,11 @@ #define OPENSSL_1_1_API #endif /* OPENSSL_VERSION_NUMBER >= OPENSSL_V_SERIES(1,1,0) && ... */+#if defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x2070000fL+/* LibreSSL 2.7.x and later also have this API */+#define OPENSSL_1_1_API+#endif+ #ifndef OPENSSL_VERSION #define OPENSSL_VERSION SSLEAY_VERSION #endif
And while it appears that libressl supports some of the new OpenSSL APIs, the port is nontrivial: there are other things that we're conditioning on the 1.1 API that libressl does not have.
So let's revisit this in a later series.
Trac: Milestone: Tor: 0.3.4.x-final to Tor: 0.3.5.x-final Summary: LibreSSL 2.7.x may support OpenSSL 1.1 APIs? to LibreSSL 2.7.x supports some OpenSSL 1.1 APIs?
toralf -- that sounds like a separate issue, if it's happening on an unmodified version of git master?
yes - that's why I pasted "git describe" too here