Commit af80d472 authored by Nick Mathewson's avatar Nick Mathewson 🥔
Browse files

"And now a better patch which builds the tests if LibreSSL is used."

Works on the latest LibreSSL (in OpenBSD-current).

(Patch from 'rubiate' on #17253.
parent b71f6d6a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -53,7 +53,8 @@
extern tor_tls_context_t *server_tls_context;
extern tor_tls_context_t *client_tls_context;

#if OPENSSL_VERSION_NUMBER >= OPENSSL_V_SERIES(1,1,0)
#if OPENSSL_VERSION_NUMBER >= OPENSSL_V_SERIES(1,1,0) \
    && !defined(LIBRESSL_VERSION_NUMBER)
#define OPENSSL_OPAQUE
#endif