> Le 3 août 2017 à 10:07, Willy Tarreau <[email protected]> a écrit : > > Hi Bernard, > > I'm CCing Emeric since this affects SSL. I have some comments below. > > On Tue, Jul 25, 2017 at 05:03:10PM +0200, Bernard Spil wrote: > >> --- src/ssl_sock.c.orig 2017-06-02 13:59:51 UTC >> +++ src/ssl_sock.c >> @@ -56,7 +56,7 @@ >> #include <openssl/engine.h> >> #endif >> >> -#if OPENSSL_VERSION_NUMBER >= 0x1010000fL >> +#if (OPENSSL_VERSION_NUMBER >= 0x1010000fL) && >> !defined(LIBRESSL_VERSION_NUMBER) >> #include <openssl/async.h> >> #endif > (...) > > OK so all the ones related to LibreSSL not supporting async should go > into one patch.
"[PATCH] MINOR: ssl: build with recent BoringSSL library » used OPENSSL_NO_ASYNC With this patch, a generic way could be to have (if LibreSSL have no OPENSSL_NO_ASYNC defined): #ifdef LIBRESSL_VERSION_NUMBER #ifndef OPENSSL_NO_ASYNC #define OPENSSL_NO_ASYNC #endif #endif

