Hi Piotr > Le 14 mars 2017 à 16:04, Piotr Kubaj <pku...@anongoth.pl> a écrit : > > And it seems like the previously attached patches do compile, but the warning > is there again so now I'm finally including patches that make Haproxy both > compile and not throw additional warnings. >
first patch: -#if defined(OPENSSL_IS_BORINGSSL) || (OPENSSL_VERSION_NUMBER >= 0x1010000fL) +#if (LIBRESSL_VERSION_NUMBER < 0x2050100fL) && (defined(OPENSSL_IS_BORINGSSL) || (OPENSSL_VERSION_NUMBER >= 0x1010000fL)) should be : +#if (LIBRESSL_VERSION_NUMBER < 0x2050100fL) || (defined(OPENSSL_IS_BORINGSSL) || (OPENSSL_VERSION_NUMBER >= 0x1010000fL)) I suspect that test on LIBRESSL_VERSION_NUMBER will not work. Manu